]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 21 Jun 2021 13:26:22 +0000 (15:26 +0200)
commita0771ac4b264516814209fa206886f99a7e68ab9
tree953b3107de7928116aac505c2aefa49ff701546a
parent73548b195e22e55ac68e571fc9c7245c62c10745
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>
(cherry picked from commit c95e406e68fef354f1e65aa34cd6d257b8dc1c48)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
catalogue/itemsearch.pl