summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/THtmlArea.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-12-06 16:26:40 +0000
committerctrlaltca@gmail.com <>2011-12-06 16:26:40 +0000
commitc35b6041631a11aa7ba822d03b3ad13794db17f9 (patch)
treebc0553ef25a5757976ce83ade5ba4041d9ae389e /framework/Web/UI/WebControls/THtmlArea.php
parentc53ef254ccc2959f5f6d9bf6fff26071fc57368e (diff)
fix for #377
Diffstat (limited to 'framework/Web/UI/WebControls/THtmlArea.php')
-rw-r--r--framework/Web/UI/WebControls/THtmlArea.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/THtmlArea.php b/framework/Web/UI/WebControls/THtmlArea.php
index e5d62c58..22f8e5f5 100644
--- a/framework/Web/UI/WebControls/THtmlArea.php
+++ b/framework/Web/UI/WebControls/THtmlArea.php
@@ -506,7 +506,7 @@ class THtmlArea extends TTextBox
if(count($option) == 2)
{
- $value=trim(preg_replace('/\'|"/','', $option[1]));
+ $value=trim(trim($option[1]),"'\"");
if (($s=strtolower($value))==='false')
$value=false;
elseif ($s==='true')