From 1a218daf74395763ac0f92988861a3a40d63828b Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 5 May 2003 14:14:28 +0000 Subject: [PATCH] fix : when a book is taken and marked "not returned yet", it's now marked returned and issue done. --- C4/Circulation/Circ2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index b7f8c1a2b5..3a4ca3aec6 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -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; -- 2.39.5