mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-11 18:46:51 +01:00
- ereg -> preg
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user