Bug 14555: Warns in opac-search.pl
authorMartin Stenberg <martin@xinxidi.net>
Mon, 21 Sep 2015 11:16:39 +0000 (13:16 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 29 Jan 2016 14:04:29 +0000 (15:04 +0100)
commit34f20412f89e9320e0fe2a0a3778a3e680566ec3
treede49bd7e5cba072e4c0fd906e90b7df76d1359c7
parent4c0506f33e07807d548fe4870d25ea367015c0e1
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>
opac/opac-search.pl