]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 8 Jul 2016 13:27:37 +0000 (13:27 +0000)
commitabb7980004ad75de4a51d06815f5e98e1cbb0f6d
tree64adecf02a854ea8f8bc492bc4d641101d7fa5e6
parent666397446f1af6a5fb2f71ed590c55c2fc7d84d1
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt