summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/html.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-04 08:31:55 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-05-04 08:31:55 +0000
commit7a21b982f837592a19747189925b8d402e4059cc (patch)
tree3dcfd43205ba4bc1c9947b42d8446e61b3d56f97 /roundcubemail/program/include/html.php
parenta4e2b2d1cf9be820bd3dbb7bb90cb88cd6fd7834 (diff)
- ereg -> preg
git-svn-id: https://svn.roundcube.net/trunk@2453 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/html.php')
-rw-r--r--roundcubemail/program/include/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php
index 78e696cb6..350b894ee 100644
--- a/roundcubemail/program/include/html.php
+++ b/roundcubemail/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);
}