From c35b6041631a11aa7ba822d03b3ad13794db17f9 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Tue, 6 Dec 2011 16:26:40 +0000 Subject: fix for #377 --- framework/Web/UI/WebControls/THtmlArea.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls') 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') -- cgit v1.2.3