Skip to content

Commit

Permalink
One more place this can be fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 11, 2013
1 parent 9277739 commit df3d771
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions framework/ActiveSync/lib/Horde/ActiveSync/Imap/Adapter.php
Expand Up @@ -375,8 +375,7 @@ public function getMessageChanges(
$mbox,
$query,
array('results' => array(Horde_Imap_Client::SEARCH_RESULTS_MATCH)));
// @todo change to $search_ret['count'] when Bug: 12682 is fixed
if ($modseq && $folder->modseq() > 0 && count($search_ret['match']->ids)) {
if ($modseq && $folder->modseq() > 0 && $search_ret['count']) {
$folder->setChanges($search_ret['match']->ids, array());
} elseif (count($search_ret['match']->ids)) {
$query = new Horde_Imap_Client_Fetch_Query();
Expand Down

0 comments on commit df3d771

Please sign in to comment.