]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 7 Mar 2022 21:00:10 +0000 (21:00 +0000)
commitdd20cbd9ad87de7d799bd6b012cf6de0a32d5fd0
treeedab651ba754bd71e57064c085cf1537e05b30b3
parentb9c87a80a62e4b17a15a07af03675084ff577bc8
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>
(cherry picked from commit cdab942ee00ab916ed58033a20419414c9dc21b0)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Output.pm