[Koha-bugs] [Bug 26506] Koha::Account::pay will fail if $userenv is not set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 22 15:19:40 CEST 2020


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

--- Comment #1 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 110552
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110552&action=edit
Bug 26506: Fix Koha::Account::pay if called when no user is logged-in

Currently, Koha::Account::pay will fail if no user is logged-in when it is
called.

In this case, this patch will use undef instead of 0 for $manager_id in order
to comply with the foreign key constraint on manager_id.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list