From 2c5a05b8be84491250fc1c966b5251076fb9533c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 27 Oct 2016 09:37:55 +0200 Subject: [PATCH] Bug 17397: Do not display parenthesis if the manager has been deleted Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 +++- 1 file changed, 3 insertions(+), 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 d8d2943763..a937bf1976 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -859,7 +859,9 @@ No patron matched [% message | html %] [% END %]> [% message.message_date | $KohaDates %] [% Branches.GetName( message.branchcode ) %] - ( [% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %] ) + [% IF message.manager_id %] + ( [% message.get_column('manager_firstname') %] [% message.get_column('manager_surname') %] ) + [% END %] "[% message.message %]" [% IF message.branchcode == branch OR Koha.Preference('AllowAllMessageDeletion') %] -- 2.39.5