From e4461e52f175d2fe9ab679a4552168d05ea0fbde Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Apr 2016 09:24:18 +0100 Subject: [PATCH] Bug 16240: (follow-up for 16082) Do not display message if no borrowernumber passed "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 --- 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 %] -- 2.7.0