Bugzilla – Attachment 45677 Details for
Bug 14480
Warns when modifying patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14480: Silencing warns from editing patron
Bug-14480-Silencing-warns-from-editing-patron.patch (text/plain), 1.42 KB, created by
Aleisha Amohia
on 2015-12-14 19:49:03 UTC
(
hide
)
Description:
Bug 14480: Silencing warns from editing patron
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-12-14 19:49:03 UTC
Size:
1.42 KB
patch
obsolete
>From 220480bc997a30059ca68d395ba135a1e724710b Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 14 Dec 2015 19:46:46 +0000 >Subject: [PATCH] Bug 14480: Silencing warns from editing patron > >This warn is triggered when editing a patron: >Argument "" isn't numeric in numeric lt (<) at /home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt line 974. > >To test: >1) Go to any patron (ie this link http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=1369) >2) Click Edit >3) Notice the above warns >4) Apply patch and reload page >5) Notice warns are gone but page still works correctly >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index a3b7a9d..57d3fe1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -941,7 +941,7 @@ > <fieldset class="rows"> > <legend>Patron restrictions</legend> > >- [% IF ( debarments.size < 1 ) %] >+ [% IF ( debarments.size == 0 ) %] > <p>Patron is currently unrestricted.</p> > [% ELSE %] > <table> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14480
:
40744
|
45677
|
45796
|
46025
|
46290
|
46300
|
46301
|
46305