https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15504

Andrii Nugged <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #65 from Andrii Nugged <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to