Summary: | Few very small errors in opac-search.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | Searching | Assignee: | Marcel de Rooy <m.de.rooy> |
Status: | CLOSED FIXED | QA Contact: | Bugs List <koha-bugs> |
Severity: | trivial | ||
Priority: | PATCH-Sent (DO NOT USE) | CC: | chris |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
Description
Chris Cormack
2010-05-21 01:28:05 UTC
Drop points 1 and 3 for master now. Point 2 still holds. Adding fix for warnings on undefined values in comparison for lines 485, 488 and 510. Corrected these small errors in patch for master now. -for (my $i=0;$i<=@servers;$i++) { +for (my $i=0;$i<@servers;$i++) { - if ($borrowernumber eq '') { + if (!$borrowernumber || $borrowernumber eq '') { - if ($params->{'offset'} eq '') { + if (($params->{'offset'}||'') eq '') { - if ($params->{'offset'} eq '') { + if (($params->{'offset'}||'') eq '') { Patch pushed, please test and close This bug has a patch presently committed to HEAD and 3.2.x. Please take the appropriate action to update the status of this bug. Remember, bugs which have been resolved should be tested and marked closed, preferably by the original reporter. |