Skip to content

Commit

Permalink
categories might be false here for some clients.
Browse files Browse the repository at this point in the history
Prevent spamming log with warnings.
  • Loading branch information
mrubinsk committed Dec 30, 2018
1 parent aa6284e commit 1125873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -485,7 +485,7 @@ public function updateState(
. ' VALUES (?, ?, ?, ?, ?, ?)';
$flag_value = !empty($change['flags']['flagged']);
}
if (isset($change['categories'])) {
if (isset($change['categories']) && $change['categories']) {
$sql = 'INSERT INTO ' . $this->_syncMailMapTable
. ' (message_uid, sync_key, sync_devid,'
. ' sync_folderid, sync_user, sync_category)'
Expand Down

0 comments on commit 1125873

Please sign in to comment.