]> git.koha-community.org Git - koha.git/commit
Bug 28561: Fix noisy warning about $direction too
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 14 Jun 2021 12:51:13 +0000 (12:51 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 09:44:55 +0000 (11:44 +0200)
commit39d6b5fe021607bb84207167070823782fb6ffc3
tree188f25b561eda9f1a1f9de7d8dec4428b82722f7
parentfe2ba2fb8573825df043c650b89f26d5167f761c
Bug 28561: Fix noisy warning about $direction too

Use of uninitialized value $direction in string ne at /usr/share/koha/opac/opac-shelves.pl line 265.

Bonus:
Use of uninitialized value $sortfield in string eq at /usr/share/koha/opac/opac-shelves.pl line 264.

Test plan:
While testing patch 1, check the logs for these warnings with and
without this patch.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
opac/opac-shelves.pl