From 335b042b985da68b5934b10b843400398964168b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 27 Oct 2011 09:33:10 -0400
Subject: [PATCH] Fix inline display of image attachments
---
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