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

Aleisha Amohia <[email protected]> changed:

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

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