Bug 14555: Warns in opac-search.pl
authorMartin Stenberg <martin@xinxidi.net>
Mon, 21 Sep 2015 11:16:39 +0000 (13:16 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 11 Feb 2016 18:57:17 +0000 (19:57 +0100)
commit8e554c858137c5a16d52fc96e24128e45d56a416
tree0d0a0f1a8d087caad0ff86f1cea51b8ae36dd5df
parentfa83ce9b6ed410cd99d51c35b29262e41ad19a4b
Bug 14555: Warns in opac-search.pl

Avoid use of uninitialized value in split

== Test plan ==
1. Go to opac advanced search
2. Click "Search" without any search query
3. Log file will show "Use of uninitialized value in split at ..."
4. Apply this patch
5. Repeat step 1 and 2
6. Log file should no longer show "Use of uninitialized value in split at ..."

Sponsored-by: Regionbibliotek Halland / County library of Halland
Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
At step 2 you have to check a criteria

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit ab81a0feeebf1c01857755f53060dcc255960e9b)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 34f20412f89e9320e0fe2a0a3778a3e680566ec3)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
opac/opac-search.pl