[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 19 07:24:10 CEST 2015


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

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39109|0                           |1
        is obsolete|                            |

--- Comment #3 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 39292
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39292&action=edit
Bug 14191: Use smartmatch operator rather than equality operator

This patch uses ~~ instead of == which silences the warns. Still not sure this
is the best way to fix this but the warns are not there. Feel free to comment
if you have any other better suggestions.

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