http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10728
Galen Charlton <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20335|0 |1 is obsolete| | --- Comment #2 from Galen Charlton <[email protected]> --- Created attachment 20337 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20337&action=edit Bug 10728: fix log noise generated by subscription-renew.pl Error log is showing warnings because mode is undefined and we are doing string comparisons on it. Set it to a default value (we were already assigning it a variable which we were not using) and use the the result in the comparison To test, after applying the patch: [1] Use the renew link from the subscription detail page to renew a subscription. [2] Verifying that doing this did not add a warning containing 'subscription-renew.pl: Use of uninitialized value $mode in string eq ' to the Apache error log. Signed-off-by: Galen Charlton <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
