]> git.koha-community.org Git - koha.git/commit
Bug 34924: (QA follow-up) correctly handle digest data compilation for successful...
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Thu, 26 Oct 2023 14:21:09 +0000 (10:21 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Oct 2023 14:02:48 +0000 (11:02 -0300)
commit0680910177907847a7dfd4939c1894b768e30b26
tree1175ba0c8b80d2e325e3da2d13f9acf3372670db
parent5fea2e431af8d1b87cf8904a6b05191d0f78fe36
Bug 34924: (QA follow-up) correctly handle digest data compilation for successful renewal

automatic_renewals.pl does some data compilation for digest notices that
depends on the error value returned from attempt_auto_renew. However, on
successful renewal $error is undefined. Add additional checks on value
of $success and definedness of $error to compile data accurately and
avoid warns for undefined variable

Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/automatic_renewals.pl