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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 16 Jul 2021 12:16:11 +0000 (08:16 -0400)
commit3a4dafb754a64c4cda743b3bb72b71cdaa294395
treef8614a67de513ab61af0b896fa80e3ab3f664486
parentf131e51984898f689281b8adb3ead7c33168e00b
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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-shelves.pl