diff options
author | ctrlaltca@gmail.com <> | 2011-12-06 16:26:40 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-12-06 16:26:40 +0000 |
commit | c35b6041631a11aa7ba822d03b3ad13794db17f9 (patch) | |
tree | bc0553ef25a5757976ce83ade5ba4041d9ae389e /framework/Web/UI/WebControls/THtmlArea.php | |
parent | c53ef254ccc2959f5f6d9bf6fff26071fc57368e (diff) |
fix for #377
Diffstat (limited to 'framework/Web/UI/WebControls/THtmlArea.php')
-rw-r--r-- | framework/Web/UI/WebControls/THtmlArea.php | 2 |
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')
|