Skip to content

Commit

Permalink
Force folderids to be strings, the easy way.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 16, 2013
1 parent 6a01ec1 commit 0e6f790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Driver/Base.php
Expand Up @@ -354,7 +354,7 @@ protected function _getFolderUidForBackendId($imap)
if ($id = $this->_state->getFolderUidForBackendId($imap)) {
return $id;
} elseif (empty($this->_tempMap[$imap])) {
$this->_tempMap[$imap] = sprintf('%04x%04x', mt_rand(0, 0xffff), mt_rand(0, 0xffff));
$this->_tempMap[$imap] = sprintf('F%04x%04x', mt_rand(0, 0xffff), mt_rand(0, 0xffff));
$this->_logger->info(sprintf(
'[%s] Creating new folder uuid for %s: %s',
getmypid(),
Expand Down

0 comments on commit 0e6f790

Please sign in to comment.