[Koha-bugs] [Bug 12974] Argument "" isn't numeric in numeric gt (>) in opac-results.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 6 16:34:39 CEST 2014


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #3 from Marc Véron <veron at veron.ch> ---
Created attachment 32014
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32014&action=edit
Bug 12974 - Argument "" isn't numeric in numeric gt (>) in opac-results.tt

If an item has no star ratings you get an error message in opac-error.log:
Argument "" isn't numeric in numeric gt (>) at (...)
/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt line 467.

To test:
In OPAC, search for a bilio that has no star ratings.
Check opac-error.log for message as above
Apply patch
Repeat search
Check opac-error.log again, there should be no more warnings

(Fixed mistake with brackets, see comment #2)

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


More information about the Koha-bugs mailing list