summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-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')