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

--- Comment #1 from Aleisha Amohia <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to