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>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Mark Tompsett 2019-06-17 14:59:03 +00:00 committed by Martin Renvoize
parent b86766a3e2
commit cc26fefeeb
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]