From e2a8b4dd6d6d2160fcb6b03a54da848478eb9c75 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 06 Oct 2011 08:31:38 -0400
Subject: [PATCH] Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book
---
program/include/rcube_imap_cache.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcube_imap_cache.php b/program/include/rcube_imap_cache.php
index 8ef5b71..b51bc6d 100644
--- a/program/include/rcube_imap_cache.php
+++ b/program/include/rcube_imap_cache.php
@@ -853,7 +853,7 @@
// @TODO: find better validity check for threaded index
if ($is_thread) {
// check messages number...
- if ($mbox_data['EXISTS'] != max(array_keys($index['depth']))) {
+ if ($mbox_data['EXISTS'] != @max(array_keys($index['depth']))) {
return false;
}
return true;
--
Gitblit v1.9.1