From dfc79b341c4ae80fe3bae0c52cadee7c28a108fd Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 18 Oct 2011 06:09:32 -0400
Subject: [PATCH] Find charset in HTML meta tags if not specified in content-type header (#1488125)

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

diff --git a/program/include/rcube_cache.php b/program/include/rcube_cache.php
index 69f5b31..018d5f5 100644
--- a/program/include/rcube_cache.php
+++ b/program/include/rcube_cache.php
@@ -264,7 +264,7 @@
                 $this->cache_sums[$key] = $md5sum;
                 $this->cache[$key]      = $data;
             }
-            else if (!$nostore) {
+            else {
                 $this->cache[$key] = null;
             }
         }
@@ -294,7 +294,7 @@
 	            $this->cache_sums[$key] = $md5sum;
                 $this->cache_keys[$key] = $sql_arr['cache_id'];
             }
-            else if (!$nostore) {
+            else {
                 $this->cache[$key] = null;
             }
         }

--
Gitblit v1.9.1