Skip to content

Commit

Permalink
Fix empty check.
Browse files Browse the repository at this point in the history
This was from code that never made it into Git.
  • Loading branch information
mrubinsk committed Apr 14, 2016
1 parent 936e979 commit d4a98a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Request/Sync.php
Expand Up @@ -863,7 +863,7 @@ protected function _parseSyncFolders()
// Default value, if missing is TRUE if we have a non-empty synckey,
// otherwise FALSE.
if (!isset($collection['getchanges'])) {
$collection['getchanges'] = !$collection['synckey']->isEmpty();
$collection['getchanges'] = !empty($collection['synckey']);
}

try {
Expand Down

0 comments on commit d4a98a2

Please sign in to comment.