summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorChristophe.Boulain <>2009-03-16 14:20:27 +0000
committerChristophe.Boulain <>2009-03-16 14:20:27 +0000
commit2d66c62131be82e93a5fc40ae3b69f850196ec1a (patch)
treeb32fa1d6f2800112c589167d847b1c56eaea3c81 /framework/Web/UI
parent306c8f71af808b0002008a5585c2ac9ff69aeb1e (diff)
Fixed Issue#126
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/THtmlArea.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php
index 5d65c8b2..7e8bc370 100644
--- a/framework/Web/UI/WebControls/THtmlArea.php
+++ b/framework/Web/UI/WebControls/THtmlArea.php
@@ -436,7 +436,11 @@ class THtmlArea extends TTextBox
$option = explode(":",$bits,2);
if(count($option) == 2)
- $options[trim($option[0])] = trim(preg_replace('/\'|"/','', $option[1]));
+ {
+ $value=trim(preg_replace('/\'|"/','', $option[1]));
+ if (($s=strtolower($value))==='false' || $s==='true') $value=(boolean)$s;
+ $options[trim($option[0])] = $value;
+ }
}
return $options;
}