]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 8 Apr 2020 15:00:38 +0000 (15:00 +0000)
commitd0623804ebd5145c87e05ec9ff1ebf5f7b2ef051
tree71951c098bab3f2950d32f0778bfd9c4af3e0d1c
parent7399a8de944674dfdb1ffb9dd014427d7750dd14
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit c242f8667794cc4217155c783dfe8065d77ac788)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Patrons.pm
t/db_dependent/Koha/Patrons.t