From 6d664e2189846d86ab5a6b1fae392d4917422887 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Apr 2016 09:24:18 +0100 Subject: [PATCH] [PASSED QA] Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "This patron does not exist" message should not be displayed on the "Checkouts home page". The message should only be displayed if the borrowernumber parameter is passed. Test plan: Go on circ/circulation.pl => No message Go on circ/circulation.pl?borrowernumber=424242 => You should see the message Signed-off-by: Marc VĂ©ron Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 4727192..ec3a1d9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -970,7 +970,7 @@ No patron matched [% message %] [% END %] -[% ELSE %] +[% ELSIF borrowernumber %]
This patron does not exist. Find another patron?
[% END %] -- 1.9.1