https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29908

Marcel de Rooy <[email protected]> changed:

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

--- Comment #7 from Marcel de Rooy <[email protected]> ---
Created attachment 189011
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189011&action=edit
Bug 29908: Remove warning when empty ClaimReturnedWarningThreshold in
patron_messages.inc

System preference ClaimReturnedWarningThreshold manages the display of a patron
message in case of too many claims.
But this preference may be empty. It is created empty in
installer/data/mysql/mandatory/sysprefs.sql.

This generates a warning :
Argument "" isn't numeric in numeric gt (>) at
/kohadevbox/koha/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc
line 128.

Test plan :
1) Set systempreference 'ClaimReturnedWarningThreshold' empty
2) Go to a patron details page
3) Check there is no warning in logs
4) Go to a patron check-out page
5) Check there is no warning in logs
6) Set systempreference 'ClaimReturnedWarningThreshold' with an integer (ie 5)
Repeat from 2)

Signed-off-by: Kyle M Hall <[email protected]>

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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