]> git.koha-community.org Git - koha.git/commit
Bug 24114: (follow-up) Resolve warning on non-numeric subtraction
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 29 Nov 2019 09:17:19 +0000 (09:17 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Feb 2020 13:17:39 +0000 (13:17 +0000)
commit88d1ad0c35af9415d24037f408dd312e885250be
tree924edc5809366acbeb79dacb11e637d6abc6fd47
parent7e1db56dd8a0f70792fc9c1f8eb66423a9611944
Bug 24114: (follow-up) Resolve warning on non-numeric subtraction

Argument "" isn't numeric in subtraction (-) at /usr/share/koha/Koha/Patrons.pm line 290.

Coming from an empty or undefined FailedLoginAttempts.

Test plan:
Verify that Koha/Patrons.t still passes.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patrons.pm
t/db_dependent/Koha/Patrons.t