Summary: | Uninitialized value warning in C4/Output.pm | ||
---|---|---|---|
Product: | Koha | Reporter: | Blou <philippe.blouin> |
Component: | Architecture, internals, and plumbing | Assignee: | Blou <philippe.blouin> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | andrew, jonathan.druart, kyle, victor |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.05.00,21.11.03,21.05.13
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 25790 | ||
Attachments: |
Bug 30115: Uninitialized value warning in C4/Output.pm
Bug 30115: Uninitialized value warning in C4/Output.pm Bug 30115: Uninitialized value warning in C4/Output.pm |
Description
Blou
2022-02-15 21:17:16 UTC
Created attachment 130639 [details] [review] 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. Created attachment 130661 [details] [review] 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> Created attachment 130817 [details] [review] 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> Pushed to master for 22.05, thanks to everybody involved [U+1F984] Pushed to 21.11.x for 21.11.03 Pushed to 21.05.x for 21.05.12 Not backported to oldoldstable (20.11.x). Feel free to ask if it's needed. |