[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
Wed Feb 16 12:50:02 CET 2022


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

Owen Leonard <oleonard at myacpl.org> changed:

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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 130661
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130661&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>

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


More information about the Koha-bugs mailing list