on importMessage, beware of serverID:: that is preceeding the folder of the importdestination

This commit is contained in:
Klaus Leithoff 2015-03-27 12:59:51 +00:00
parent b2648cf5e4
commit 7532580ddf

View File

@ -3226,6 +3226,8 @@ class mail_ui
$file = $content['uploadForImport']; $file = $content['uploadForImport'];
} }
$destination = $content['FOLDER'][0]; $destination = $content['FOLDER'][0];
if (stripos($destination,self::$delimiter)!==false) list($serverId,$destination) = explode(self::$delimiter,$destination,2);
//error_log(__METHOD__.__LINE__.self::$delimiter.array2string($destination));
$importID = mail_bo::getRandomString(); $importID = mail_bo::getRandomString();
$importFailed = false; $importFailed = false;
try try