summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-01-27 18:20:31 +0000
committeralecpl <alec@alec.pl>2012-01-27 18:20:31 +0000
commit1d7dcc641c5d1a6841d2ae16d1fa1bab2715a940 (patch)
tree6fb9d51dfb181b45e6bf4b12f1f379adab0b4708 /program/include
parent3c71c67118ab81208d0b47519c31d58b6d5ffff0 (diff)
- Fix call to undefined method rcube_result_index::isError() (#1488328)
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index ba71a6744..2d636f027 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -1453,7 +1453,7 @@ class rcube_imap_generic
// Invoke SEARCH as a fallback
$index = $this->search($mailbox, 'ALL UNSEEN', false, array('COUNT'));
- if (!$index->isError()) {
+ if (!$index->is_error()) {
return $index->count();
}