]> git.koha-community.org Git - koha.git/commit
Bug 8895 - Warning in systempreferences.pl: Use of uninitialized value in length...
authorMarc Veron <veron@veron.ch>
Wed, 10 Oct 2012 05:49:36 +0000 (07:49 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 25 Oct 2012 13:09:23 +0000 (15:09 +0200)
commit56cf444927c38f8236495e25956a171c438d8fb5
treed0bb430cfe6e67e634d40a1b867ec66e34fcd7d0
parentcc9b23d3d72418492c43d34222128541cda1aced
Bug 8895 - Warning in systempreferences.pl: Use of uninitialized value in length...

Clicking on Local use tab in system preferences results in warning in log file:

systempreferences.pl: Use of uninitialized value in length at (...)/admin/systempreferences.pl line 456

Reason: content field "value" in table "systempreferences" can be NULL (and is tested for length).

Added test for "defined" at to places.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
admin/systempreferences.pl