Summary: | z3950 empty search causes silent warning in koha-error_log | ||
---|---|---|---|
Product: | Koha | Reporter: | Piotr Kowalski <kolpen> |
Component: | Cataloging | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P5 - low | CC: | chris, koha.sekjal, paul.poulain |
Version: | 3.8 | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
proposed patch
Bug 8116 : Fixing warn in error log |
Created attachment 9800 [details] [review] Bug 8116 : Fixing warn in error log Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Adds a default value of empty string to $query; marking Passed QA. Patch pushed, welcome to our 183th contributor ! ( Piotr, it's you ;-) ) Pushed to 3.8.x, will be in 3.8.2 |
Created attachment 9633 [details] proposed patch When searching z3950 with empty parameter list a silent warning occurs in koha-error_log: z3950_search.pl: Use of uninitialized value in subroutine entry at /usr/lib/perl5/ZOOM.pm line 491 The reason is unassigned value in variable $query in line 118 of z3950_search.pl module. The bug occurs also in earlier Koha version (3.6)