]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 15:28:44 +0000 (17:28 +0200)
commitec576c0ff543eeaba4bb74e0eee93543cc1d1f20
tree5fc3b9782e0b0498c1444d4ea3c45be1d0dfb146
parent49e7d6adcbe33f52045b774c75bc9e680b4a45f4
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>
(cherry picked from commit dc6ea8d5c9bc3e4e8e859511ef151be4061d1be5)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt