From 1495c95325a896da421dd8cfa52b11240ff5c952 Mon Sep 17 00:00:00 2001 From: Denis Chenu Date: Fri, 29 Aug 2014 18:33:40 +0200 Subject: [PATCH] Dev: we don't encode label, then why encoding content --- application/extensions/SettingsWidget/SettingsWidget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/extensions/SettingsWidget/SettingsWidget.php b/application/extensions/SettingsWidget/SettingsWidget.php index d91ba1f4d46..07d9b29b170 100644 --- a/application/extensions/SettingsWidget/SettingsWidget.php +++ b/application/extensions/SettingsWidget/SettingsWidget.php @@ -273,7 +273,7 @@ public function renderInfo($name, array $metaData, $form = null) $id = $name; $value = isset($metaData['content']) ? $metaData['content'] : ''; if (is_array($value)) { throw new CException('wrong type' . $name); } - $out .= CHtml::encode($value); + $out .= $value; return $out; } @@ -496,4 +496,4 @@ public function renderList($name, array $metaData, $form = null) } } -?> \ No newline at end of file +?>