From f57f8c87ab9fa84992d2ecac28c507b4406747f7 Mon Sep 17 00:00:00 2001 From: Samuel Lefever Date: Tue, 14 Apr 2015 19:47:48 +0200 Subject: [PATCH] [FIX] website : reset lang variable in template In website template, it was not possible to use the variable "lang", containing the current language, as the variable was overwrote in website.layout, in a loop context. Changing the variable name used by the loop solves the issue. opw-639488 closes #6320 --- addons/website/views/website_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index ea943c6b31c..56c8b941e27 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -85,8 +85,8 @@ - - + +