]> git.koha-community.org Git - koha.git/commit
Bug 28383: Fix itemsearch when accessed from the login form
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 11 Jun 2021 11:25:57 +0000 (13:25 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Jun 2021 14:51:13 +0000 (10:51 -0400)
commitc95e406e68fef354f1e65aa34cd6d257b8dc1c48
treef01253fcf2c8a0b5d167039e53a462fba3f64d23
parent72dfe71e7390f315bfc33555697181ac8015d257
Bug 28383: Fix itemsearch when accessed from the login form

There are params here (credentials), we need to test for the existence of $format.

Test plan:
logout
access /cgi-bin/koha/catalogue/itemsearch.pl
Login
=> Without this patch you get a 500 (because we hit the exit statement)
=> With this patch you see the items search form.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
catalogue/itemsearch.pl