]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 21 Apr 2013 07:39:29 +0000 (19:39 +1200)
commitc8c80a8e787ff04cf167dbeae7602a484e22f977
tree11b2c909ec84886b25d1a1938f5e8295f9904760
parentbc7859e8488887a9234b06b9fdd69c946268a414
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: Chris Cormack <chris@bigballofwax.co.nz>
admin/systempreferences.pl