From bbcdab15b69e46a84509c13ae60793de50e1a549 Mon Sep 17 00:00:00 2001
From: Mark Tompsett <mtompset@hotmail.com>
Date: Mon, 17 Jun 2019 14:59:03 +0000
Subject: [PATCH] Bug 22783: (follow up) not SET for anonymous BLOCK

Fixed syntax.
http://www.template-toolkit.org/docs/manual/Directives.html#section_BLOCK

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
index 45afb8006e..3d590e24ce 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
@@ -281,7 +281,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
             [% FOREACH location IN [ '', 'OpacNavRight' ] %]
                 [% IF ( location == '' ) %]
                     [% SET location_lang = lang_lis.language %]
-                    [% SET location = BLOCK %]OPAC news[% END %]
+                    [% location = BLOCK %]OPAC news[% END %]
                 [% ELSE %]
                     [% SET location_lang = location _ "_" _ lang_lis.language %]
                 [% END %]
-- 
2.11.0