From 39fad9ed23d7d35cd22e82f923ca9bcc9d25a5a0 Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Mon, 5 Apr 2010 16:57:44 +0000 Subject: [PATCH] Fixes bug 4369: Local use does not update datelastseen Content-Type: text/plain; charset="utf-8" --- C4/Circulation.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index d780189..e3122d0 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -688,6 +688,7 @@ sub CanBookBeIssued { if ( $borrower->{'category_type'} eq 'X' && ( $item->{barcode} )) { # stats only borrower -- add entry to statistics table, and return issuingimpossible{STATS} = 1 . &UpdateStats(C4::Context->userenv->{'branch'},'localuse','','',$item->{'itemnumber'},$item->{'itemtype'},$borrower->{'borrowernumber'}); + ModDateLastSeen( $item->{'itemnumber'} ); return( { STATS => 1 }, {}); } if ( $borrower->{flags}->{GNA} ) { -- 1.5.6.5