http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14075
M. Tompsett <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #38624|0 |1 is obsolete| | Attachment #38626|0 |1 is obsolete| | --- Comment #7 from M. Tompsett <[email protected]> --- 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 <[email protected]> NOTE: I would have done $sortby //= ''; But this works too. :) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
