]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 30 Mar 2020 21:57:35 +0000 (21:57 +0000)
commitc242f8667794cc4217155c783dfe8065d77ac788
treee943d6975ba49109674fdc5b79a2728bb0978b6f
parentd7f922eb63c420375f42ab419d9db154650fbd4d
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>
Koha/Patrons.pm
t/db_dependent/Koha/Patrons.t