[Koha-bugs] [Bug 14075] Undefined value creates noisy warns in C4::AuthoritiesMarc
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 29 07:29:13 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14075
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38624|0 |1
is obsolete| |
Attachment #38626|0 |1
is obsolete| |
--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 38628
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38628&action=edit
Bug 14075: Undefined value creates noisy warns in C4::AuthoritiesMarc
This match sets $sortby (previously undefined value) as an empty string to get
rid of the warns.
To test:
1) Go to a URL such as
http://localhost:8080/cgi-bin/koha/opac-authorities-home.pl?op=do_search&type=opac&operator=contains&value=a&marclist=any&and_or=and
2) Notice the warns in the error log
3) Apply patch
4) Reload URL
5) Notice page still works but no warns in error log
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
NOTE: I would have done $sortby //= '';
But this works too. :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list