- ereg -> preg

This commit is contained in:
alecpl
2009-05-04 08:31:55 +00:00
parent db5abc6c21
commit 23a2eec4d5
13 changed files with 21 additions and 21 deletions

View File

@@ -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);
}