[Bug 15504] Track Patron's Last Activity
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15504 Andrii Nugged <nugged@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nugged@gmail.com --- Comment #65 from Andrii Nugged <nugged@gmail.com> --- (In reply to David Nind from comment #63)
Created attachment 155540 [details] [review] Bug 15504: (follow-up) Migrate to one clear method
my $patron = Koha::Patrons->find({ userid => $userid }); $patron->update_lastseen('login'); I've got one case when it returned empty $patron, so that led to: [ERROR] Can't call method "update_lastseen" on an undefined value at /usr/share/koha/lib/C4/Auth.pm line xxx. Yet it was when I tried to religion from an older session, can't reproduce 1:1 now, but giving a warning now for team + researching myself further. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org