From 00a833811ebbba72b48aa90dae81833d3e4a50bc Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 17 Sep 2009 09:06:31 -0400
Subject: [PATCH] - save unseen count also for current mailbox

---
 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