http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14480
--- Comment #11 from Jonathan Druart <[email protected]> --- Comment on attachment 46025 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46025 Bug 14480: Silences warn from editing patron Review of attachment 46025: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14480&attachment=46025) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ +941,4 @@ > <fieldset class="rows"> > <legend>Patron restrictions</legend> > > + [% IF ( debarments.size = 'NULL' ) %] I cannot explain why this works, but it's not the way to do :) size is a virtual method provided by Template::Toolkit, you cannot affect it the "NULL" string. Moreover you are using = instead of == Anyway, what I have proposed previously was the wrong test indeed, it should be [% UNLESS debarments %] -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
