From 0dca52bc3f5dbc5fdf96890c868d5755a394faea Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 27 Mar 2015 12:59:03 +0000 Subject: [PATCH] on importMessage, beware of serverID:: that is preceeding the folder of the importdestination --- mail/inc/class.mail_ui.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index fd82519396..c9d54efdcb 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3252,6 +3252,8 @@ class mail_ui $file = $content['uploadForImport']; } $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(); $importFailed = false; try