]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 22 Feb 2022 01:15:47 +0000 (15:15 -1000)
commit10e657e8b7e59364ea04a3bd31f6ac771bf2dddc
tree8a0614cb843221cdb6b387ffa316a952cf105eef
parent91c48e27ecd68b0a543cb5902908054fae3e088c
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>
C4/Output.pm