[Koha-bugs] [Bug 20056] Uninitialized warn in cmp_sysprefs.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 26 19:35:28 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20056
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #70930|0 |1
is obsolete| |
--- Comment #5 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 70970
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70970&action=edit
Bug 20056: Resolve uninitialized warn in cmp_sysprefs.pl
When running a compare with --upd flag, I got the following warn:
Use of uninitialized value in addition (+) at
misc/maintenance/cmp_sysprefs.pl line 125.
This is simply resolved by not returning undef but 0 in case of the Version
syspref in the sub UpdateOnePref.
Test plan:
Look at this simple change.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list