Skip to content

Commit

Permalink
*sigh* Actually enforce the parameter.
Browse files Browse the repository at this point in the history
Bug: 13273
  • Loading branch information
mrubinsk committed Aug 19, 2014
1 parent 2a925e5 commit de72dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Collections.php
Expand Up @@ -912,7 +912,7 @@ public function save($preserve_folders = false)
// HOTFIX. Need to check the timestamp to see if we should reload the
// folder cache before saving to ensure it isn't overwritten. See
// Bug: 13273
if (!$this->_cache->validateCache()) {
if ($preserve_folders && !$this->_cache->validateCache()) {
$this->_logger->info(sprintf('[%s] Updating the foldercache before saving.', $this->_procid));
$this->_cache->refreshFolderCache();
}
Expand Down

0 comments on commit de72dce

Please sign in to comment.