summaryrefslogtreecommitdiff
path: root/program/include/html.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
committeralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
commit23a2eec4d540b5f971ed6377e7ad776456ee0633 (patch)
tree34081a5830cb6c2c843dbf3b873bf2643400c134 /program/include/html.php
parentdb5abc6c211d78ad80b716ddef11eabe5e32f137 (diff)
- ereg -> preg
Diffstat (limited to 'program/include/html.php')
-rw-r--r--program/include/html.php2
1 files changed, 1 insertions, 1 deletions
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);
}