cyrusimap: make sure the username is converted to lowercase, when creating the mailboxstring

This commit is contained in:
Klaus Leithoff 2009-08-12 09:52:39 +00:00
parent 02edb9ec96
commit 9b3dc190fe

View File

@ -87,7 +87,7 @@
return false;
}
$mailboxString = $nameSpaces['others'][0]['name'] . $_username . (!empty($_folderName) ? $nameSpaces['others'][0]['delimiter'] . $_folderName : '');
$mailboxString = $nameSpaces['others'][0]['name'] . strtolower($_username) . (!empty($_folderName) ? $nameSpaces['others'][0]['delimiter'] . $_folderName : '');
if($this->loginType == 'vmailmgr') {
$mailboxString .= '@'.$this->domainName;