]> git.koha-community.org Git - koha.git/commit
Bug 14480: Silences warn from editing patron
authorAleisha <aleishaamohia@hotmail.com>
Tue, 29 Dec 2015 19:39:20 +0000 (19:39 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 11 Feb 2016 19:05:31 +0000 (20:05 +0100)
commit88d4d49b11b43fcc1de49a7c0f7027bf81de5e6f
treefa32841f591b171b46a8c1efb9f0730e664230bf
parent258cb5aaef8dd94e92784c1a0c5de65bb0fab431
Bug 14480: Silences warn from editing patron

Argument "" isn't numeric in numeric lt (<)

TEST PLAN
---------
1) Go to any patron in staff client
2) Click 'Edit'
3) Check error logs
   -- warnings should exist.
4) Apply patch
5) Reload page
   -- warnings should not be triggered.
6) Add restriction and save
7) Go back to edit screen
   -- restriction should be shown
8) Remove restriction and save
9) Go back to edit screen
   -- Should say "Patron is currently unrestricted"
10) Run koha qa test tools.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 11109501eb6c8b8ee55390cd9860ac6dbf8c908c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit c08a13593cbc3a60ac3d5345c93c6c4c362a3835)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt