[Koha-bugs] [Bug 14191] Noisy warns in C4/XSLT.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 12 23:45:12 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14191

--- Comment #1 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 39109
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39109&action=edit
Bug 14191: Use of operators causing warn in C4/XSLT.pm

In this if statement causing the warns, || is used in the left arguments. This
patch changes these to // as I think this is essentially the same thing. I
don't know that this is the best way to fix this but it silences the warns.

To test:

1) On the OPAC, do a simple search for an item that will return results (ie by
Keyword, search for "a")
2) Notice the warns in the error log
3) Apply patch
4) Reload page (search for "a")
5) Notice page still works but no warns

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list