fix : when a book is taken and marked "not returned yet", it's now marked returned...
authortipaul <tipaul>
Mon, 5 May 2003 14:14:28 +0000 (14:14 +0000)
committertipaul <tipaul>
Mon, 5 May 2003 14:14:28 +0000 (14:14 +0000)
C4/Circulation/Circ2.pm

index b7f8c1a..3a4ca3a 100755 (executable)
@@ -694,7 +694,7 @@ sub issuebook {
                                $defaultanswer='Y';
                                last SWITCH;
                        } elsif ($responses->{1} eq 'Y') {
-                               returnbook($iteminformation->{'barcode'}, $env->{'branch'});
+                               returnbook($iteminformation->{'barcode'}, $env->{'branchcode'});
                        } else {
                                $rejected=-1;
                                last SWITCH;