Skip to content

Commit

Permalink
Dev: we don't encode label, then why encoding content
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Aug 29, 2014
1 parent f51d66a commit 1495c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/extensions/SettingsWidget/SettingsWidget.php
Expand Up @@ -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;
}
Expand Down Expand Up @@ -496,4 +496,4 @@ public function renderList($name, array $metaData, $form = null)
}
}

?>
?>

0 comments on commit 1495c95

Please sign in to comment.