Fixes bug 4369: Local use does not update datelastseen

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Ian Walls 2010-04-05 17:00:02 +00:00 committed by Galen Charlton
parent d08cd6bfc0
commit 2d3722b5a3

View file

@ -689,6 +689,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} ) {