]> git.koha-community.org Git - koha.git/commit
Bug 30115: Uninitialized value warning in C4/Output.pm
authorBlou <blou@inlibro.com>
Tue, 15 Feb 2022 21:18:15 +0000 (16:18 -0500)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 25 Feb 2022 13:27:00 +0000 (08:27 -0500)
commitcdab942ee00ab916ed58033a20419414c9dc21b0
tree5dfbe5985915df5c1a7a581e99a07aa6182fb2f4
parentbfb2e727f9b8ccfb48b7c0ddd8fbb195d562f08f
Bug 30115: Uninitialized value warning in C4/Output.pm

Use of uninitialized value $url_suffix in concatenation (.) or string at GIT/C4/Output.pm line 180.
Use of uninitialized value $url_suffix in concatenation (.) or string at GIT/C4/Output.pm line 197.
Use of uninitialized value $url_suffix in concatenation (.) or string at GIT/C4/Output.pm line 211.

This is in pagination_bar sub.  A lot of pages call it.  For me it
happened with any Authority search (authorities/authorities-home.pl)
producing multiple results.

Simple fix is initializing the variable.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Output.pm