[Koha-bugs] [Bug 29908] New: Warning when empty ClaimReturnedWarningThreshold in patron_messages.inc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 19 21:59:07 CET 2022


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

            Bug ID: 29908
           Summary: Warning when empty ClaimReturnedWarningThreshold in
                    patron_messages.inc
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

System preference ClaimReturnedWarningThreshold manages the display of a patron
message in case of too many claims.
But this preference may be empty.
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.

Default value should be considered has 0 or infinite ?

Before Bug 27873 code was in templates, bug still applies.

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


More information about the Koha-bugs mailing list