[Koha-bugs] [Bug 15504] Track Patron's Last Activity
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 25 19:20:50 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15504
Andrii Nugged <nugged at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nugged at gmail.com
--- Comment #65 from Andrii Nugged <nugged at 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.
More information about the Koha-bugs
mailing list