From df98ce2de4dd7849bcdbf32ec4d0ab83c0ecb9ee Mon Sep 17 00:00:00 2001 From: Benjamin Perche Date: Mon, 21 Jul 2014 16:21:17 +0200 Subject: [PATCH] =?UTF-8?q?Add=20the=20possibility=20to=20set=20a=20null?= =?UTF-8?q?=20lang=20=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20core/lib/T?= =?UTF-8?q?helia/Core/FileFormat/Formatting/FormatterData.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php b/core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php index 6b81aa664..9d048e543 100644 --- a/core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php +++ b/core/lib/Thelia/Core/FileFormat/Formatting/FormatterData.php @@ -232,7 +232,7 @@ class FormatterData return $this->reverseAliases($this->data, $this->aliases); } - public function setLang(Lang $lang) + public function setLang(Lang $lang = null) { $this->lang = $lang;