[Koha-bugs] [Bug 30115] Uninitialized value warning in C4/Output.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 18 11:07:37 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30115

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #130661|0                           |1
        is obsolete|                            |

--- Comment #3 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130817
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130817&action=edit
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 at myacpl.org>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list