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(); }