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

M. Tompsett <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #70789|0                           |1
        is obsolete|                            |

--- Comment #3 from M. Tompsett <[email protected]> ---
Created attachment 70930
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70930&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.

See comment #2 for fuller test plan.

Signed-off-by: Marcel de Rooy <[email protected]>

Signed-off-by: Mark Tompsett <[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/

Reply via email to