]> git.koha-community.org Git - koha.git/commit
Bug 14446: Workaround to resolve uninitialized value in goto warning
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 4 Jul 2018 14:03:33 +0000 (16:03 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 30 Jul 2018 12:54:14 +0000 (14:54 +0200)
commit628f212ed946f9a8f1114269c8927da0606aed29
treed54110deac7b567f20a592b2011b542fd70ec020
parentb470ea71cc67eeba2c942f65cb67331ec38eb7ed
Bug 14446: Workaround to resolve uninitialized value in goto warning

Forcing both GetTab calls to list context resolves the warning.
A workaround, not a real fix.

Test plan:
Search for something in the syspref text bar.
Without this patch, you will have a warn: Use of uninitialized value in goto
With this patch, you won't.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1d6760f01a674ff52d96a1a342d68a7e5c9a6c8a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
admin/preferences.pl