Revert "(bug #3025) multiple check-in of a multiple times reserved item go wrong"
authorRyan Higgins <rch@liblime.com>
Thu, 7 May 2009 18:19:04 +0000 (11:19 -0700)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 8 May 2009 16:18:37 +0000 (11:18 -0500)
This reverts commit 257a439dafa33d0c642f1ec7badedb5414027e64.
This patch causes Bug 3195 .

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Reserves.pm

index a8e3070..30a054b 100644 (file)
@@ -363,7 +363,7 @@ sub GetOtherReserves {
     my $messages;
     my $nextreservinfo;
     my ( $restype, $checkreserves ) = CheckReserves($itemnumber);
-    if ($checkreserves and $restype ne "Waiting" ) {
+    if ($checkreserves) {
         my $iteminfo = GetItem($itemnumber);
         if ( $iteminfo->{'holdingbranch'} ne $checkreserves->{'branchcode'} ) {
             $messages->{'transfert'} = $checkreserves->{'branchcode'};