Bug 14445: Silences warns in letter.tt
commit625abf61544863084cffcf77399463d363155cbd
authorAleisha <aleishaamohia@hotmail.com>
Wed, 1 Jul 2015 01:36:00 +0000 (1 01:36 +0000)
committerLiz Rea <wizzyrea@gmail.com>
Wed, 5 Aug 2015 21:33:10 +0000 (6 09:33 +1200)
tree3ad01a0adb9e68d94a8b28458e486a5b0b89b385
parent2ec7d2864f1e25511ca2ff52456adecc3b37f339
Bug 14445: Silences warns in letter.tt

When creating a new notice, warn is triggered "Argument "" isn't numeric in numeric gt (>) at line 400". Same warn is triggered when changing Koha module option to any other module.

To test:
1) Go to Tools, then Notices & Slips
2) Click 'new notice'. Notice warn in intranet-error.log
3) Change Koha module to another module. Notice warn is triggered for every change
4) Apply patch and reload page
5) Change Koha module to another module. Notice there are no longer warns
6) Go back to Notices & Slips and click 'new notice' again. Notice there are no warns

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 7098a36b19c35a06a51361bd381416a1204de38d)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
tools/letter.pl