View | Details | Raw Unified | Return to bug 15504
Collapse All | Expand All

(-)a/C4/SIP/Sip/MsgType.pm (-2 / +1 lines)
Lines 997-1003 sub handle_patron_info { Link Here
997
    $resp = (PATRON_INFO_RESP);
997
    $resp = (PATRON_INFO_RESP);
998
    if ($patron) {
998
    if ($patron) {
999
        if ( C4::Context->preference('TrackLastPatronActivity') ) {
999
        if ( C4::Context->preference('TrackLastPatronActivity') ) {
1000
            my $koha_patron = Koha::Patrons->find($patron->userid);
1000
            my $koha_patron = Koha::Patrons->find($patron->{borrowernumber});
1001
            $koha_patron->update_lastseen('connection');
1001
            $koha_patron->update_lastseen('connection');
1002
        }
1002
        }
1003
        $resp .= patron_status_string( $patron, $server );
1003
        $resp .= patron_status_string( $patron, $server );
1004
- 

Return to bug 15504