Fix disabled tags evaluating to true when not set

This commit is contained in:
Nathan Gray 2012-07-10 18:06:44 +00:00
parent 417c1aa27f
commit 7e80a90caf

View File

@ -495,6 +495,11 @@ class etemplate_widget
{
$name = self::get_array($cont,substr($name,1));
}
else
{
// Content not set expands to ''
$name = '';
}
}
// RB: not sure why this business with entity encoding for square brakets, it messes up validation
//$name = str_replace(array('[',']'),array('[',']'),$name);