Skip to content

Commit

Permalink
Avoid php warnings if _changes is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Dec 23, 2019
1 parent 29cfeed commit e0328da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -368,7 +368,7 @@ public function save()
$params['sync_mod'],
$params['sync_folderid'],
$params['sync_user'],
count($this->_changes),
$this->_changes ? count($this->_changes) : 0,
time()))
)
);
Expand Down

0 comments on commit e0328da

Please sign in to comment.