]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 Aug 2021 21:12:33 +0000 (11:12 -1000)
commitea51ef0162f8431d3836d3a1d0059e91c22f720b
treef8c2789434a261a1287d9abc773b6ba3525c19a0
parent6198b5033e6a279eab57a2f275b880136faa1dee
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>
(cherry picked from commit 3a4dafb754a64c4cda743b3bb72b71cdaa294395)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-shelves.pl