Summary: | Uninitialized variable triggers error log entry in z3950_search.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Mark Tompsett <mtompset> |
Component: | Acquisitions | Assignee: | Mark Tompsett <mtompset> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | minor | ||
Priority: | P5 - low | CC: | chris |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Attachments: |
Bug 8886 - Uninitialized variable triggers error log entry in z3950_search.pl
z3950_search reducing uninitialized variables error log entries z3950_search reducing uninitialized variables error log entries (3.8.x/3.6.x) |
Description
Mark Tompsett
2012-10-06 13:06:52 UTC
Created attachment 12723 [details] [review] Bug 8886 - Uninitialized variable triggers error log entry in z3950_search.pl Added "|| q{}" to the end of the declaration/initializations of both $op and $frameworkcode. This prevents n+1 error log entries, where n is the number of frameworks in biblio_framework. Hmmm... seems that some older patch has been applied... Corrected patch(es) to follow. Created attachment 13169 [details] [review] z3950_search reducing uninitialized variables error log entries This one is for master. Created attachment 13170 [details] [review] z3950_search reducing uninitialized variables error log entries (3.8.x/3.6.x) This applies for 3.8.x and 3.6.x versions. I get the same errors before and after the patch (testing the one for master). |