From 91b9c09bf2d96ae88a299d37891f8b0dc10abd0b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 6 Nov 2019 19:17:32 +0100 Subject: [PATCH] Bug 23590: Cleaning - Remove op_* vars MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Sponsored-by: BULAC - http://www.bulac.fr/ Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../prog/en/modules/suggestion/suggestion.tt | 22 +++++++++---------- suggestion/suggestion.pl | 1 - 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 4d3bda832a..468fab589a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -9,7 +9,7 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › - [% IF ( op_save ) %] + [% IF op == 'save' %] [% IF ( suggestionid ) %] Suggestions › Edit suggestion #[% suggestionid | html %] [% ELSE %] @@ -22,9 +22,7 @@ [% END %] [% INCLUDE 'doc-head-close.inc' %] -[% IF ( op_else ) %] -[% END %] -[% IF ( op_else ) %] +[% IF op == 'else' %]