https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28053
Peter Vashchuk <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #118989|0 |1 is obsolete| | --- Comment #2 from Peter Vashchuk <[email protected]> --- Created attachment 118995 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118995&action=edit Bug 28053: Squash warning in C4::Members This patch sets guarantess_non_issues_charges to '0' upon creation of the variable and thus prevents 'Use of uninitialized value $guarantees_non_issues_charges in numeric gt (>) at /home/martin/kohaclone/C4/Members.pm line 183.' being thrown when the patron has guaruntees without any charges. Test plan 1. Run t/db_dependent/SIP/SIPServer.t and note the warning above is thrown at least once. 2. Apply the patch 3. Run the test again and note the warning has gone. Signed-off-by: Petro Vashchuk <[email protected]> -- 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/
