[Koha-bugs] [Bug 32393] background job worker explodes if JSON is incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 14 09:29:19 CET 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #4 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I've amended the patch with the following change:
-            $job->status('failed')->store if $job;
+            $job->status('failed')->store if $job && @_;

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


More information about the Koha-bugs mailing list