Skip to content

Commit

Permalink
Add missing parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 17, 2013
1 parent 2cf5e98 commit 455bb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -1492,7 +1492,7 @@ protected function _getPIMChangeTS($changes)
$values[] = $d;
}
}
$sql .= 'AND ' . $conditions . 'GROUP BY message_uid';
$sql .= 'AND (' . $conditions . ') GROUP BY message_uid';
try {
return $this->_db->selectAssoc($sql, $values);
} catch (Horde_Db_Exception $e) {
Expand Down

0 comments on commit 455bb1f

Please sign in to comment.