]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Sun, 15 Jul 2018 19:11:26 +0000 (20:11 +0100)
commit1d6760f01a674ff52d96a1a342d68a7e5c9a6c8a
treeef0c4eaf8d39c3cbc2db4f9a37d70477cd50639b
parent35fb1fe67cef029201eef6fd53c2d0e4af82195c
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>
admin/preferences.pl