fixed copy-n-paste typo

This commit is contained in:
Ralf Becker 2011-08-21 13:45:55 +00:00
parent 09bc77426c
commit 32ea28a59c

View File

@ -30,8 +30,9 @@ class etemplate_widget_htmlarea extends etemplate_widget
{
$form_name = self::form_name($cname, $this->id);
if (self::get_array($content, $form_name) && !$this->is_readonly($cname))
if (!$this->is_readonly($cname))
{
$value = self::get_array($content, $form_name);
$valid =& self::get_array($validated, $form_name, true);
$valid = html::purify($value);