]> git.koha-community.org Git - koha.git/commit
Bug 16857 - patron-attr-types.tt: Get rid of warnings "Argument "" isn't numeric"
authorMarc Véron <veron@veron.ch>
Mon, 4 Jul 2016 09:37:33 +0000 (11:37 +0200)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 1 Aug 2016 08:48:17 +0000 (10:48 +0200)
commitdc6ea8d5c9bc3e4e8e859511ef151be4061d1be5
tree9f3d0f2e07952c0f0474392de303b484259e0743
parent3f3c78865a2f1940c195033e1693de7c5a560f65
Bug 16857 - patron-attr-types.tt: Get rid of warnings "Argument "" isn't numeric"

To vrify:
- Go to Home > Administration > Patron attribute types
- Make sure you have some patron attribute types with no branches limitation
- For each attribute type you get a warning in intranet-error.log:
patron-attr-types.pl: Argument "" isn't numeric in numeric gt (>) at (...)/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt line 284.

To test:
- Appy patch
- Verify that warnings no longer appear in intranet-error.log

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit abb7980004ad75de4a51d06815f5e98e1cbb0f6d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt