From 98357d148ace0b9c25b7be31e9b9525f7463b767 Mon Sep 17 00:00:00 2001 From: oleonard Date: Mon, 29 Nov 2004 17:29:37 +0000 Subject: [PATCH] Fix to get returns to update "datelastseen" value with today's date --- C4/Circulation/Circ2.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index c7e314c586..3b17539d83 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -1025,6 +1025,7 @@ sub returnbook { $sth->execute($borrower->{'borrowernumber'}, $iteminformation->{'itemnumber'}); $messages->{'WasReturned'} = 1; # FIXME is the "= 1" right? } + itemseen($iteminformation->{'itemnumber'}); ($borrower) = getpatroninformation(\%env, $currentborrower, 0); # transfer book to the current branch my ($transfered, $mess, $item) = transferbook($branch, $barcode, 1); -- 2.39.5