Skip to content

Commit

Permalink
Fix the $and portion of the aggregation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 28, 2013
1 parent 3859fbd commit 48de084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/ActiveSync/lib/Horde/ActiveSync/State/Mongo.php
Expand Up @@ -1237,8 +1237,8 @@ protected function _getPIMChangeTS(array $changes)
foreach ($changes as $change) {
$match['$or'][] = array(
'$and' => array(
'message_uid' => $change['id'],
'sync_deleted' => $change['type'] == Horde_ActiveSync::CHANGE_TYPE_DELETE
array('message_uid' => $change['id']),
array('sync_deleted' => $change['type'] == Horde_ActiveSync::CHANGE_TYPE_DELETE)
)
);
}
Expand Down

0 comments on commit 48de084

Please sign in to comment.