From fe88c2a022dea043e4e4615708226a539c6f97ba Mon Sep 17 00:00:00 2001 From: finlayt Date: Mon, 6 May 2002 04:36:42 +0000 Subject: [PATCH] Removed the "Item has been transfered" message from the returnbook2 subroutine. --- C4/Circulation/Circ2.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index 9f5dd5145e..c2ac14a5e7 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -585,7 +585,7 @@ sub returnbook2 { # get information on item my ($iteminformation) = getiteminformation($env, 0, $barcode); if (not $iteminformation) { - push(@messages, " There is no book with barcode: $barcode "); + push(@messages, " No item with barcode: $barcode "); return (0, \@messages, 0 ,0); } # updatelastseen($env, $dbh, $iteminformation->{'itemnumber'}); @@ -609,9 +609,6 @@ sub returnbook2 { my $tbr = $env->{'branchcode'}; my ($transfered, $message, $item) = transferbook($tbr, $barcode); - if ($transfered) { - push(@messages, "Book: as been transfered."); - } if ($iteminformation->{'itemlost'}) { updateitemlost($dbh, $iteminformation->{'itemnumber'}); -- 2.39.5