From 23a2eec4d540b5f971ed6377e7ad776456ee0633 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 4 May 2009 08:31:55 +0000 Subject: - ereg -> preg --- program/include/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/include/html.php') diff --git a/program/include/html.php b/program/include/html.php index 78e696cb6..350b894ee 100644 --- a/program/include/html.php +++ b/program/include/html.php @@ -457,7 +457,7 @@ class html_textarea extends html unset($this->attrib['value']); } - if (!empty($value) && !ereg('mce_editor', $this->attrib['class'])) { + if (!empty($value) && !preg_match('/mce_editor/', $this->attrib['class'])) { $value = Q($value, 'strict', false); } -- cgit v1.2.3