From 23a2eec4d540b5f971ed6377e7ad776456ee0633 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 04 May 2009 04:31:55 -0400
Subject: [PATCH] - ereg -> preg

---
 program/include/html.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/html.php b/program/include/html.php
index 78e696c..350b894 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -457,7 +457,7 @@
             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);
         }
 

--
Gitblit v1.9.1