From 7532580ddf964a3919e65d89aff87dbe16178801 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 27 Mar 2015 12:59:51 +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 27fa9639ea..dfd8315b80 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3226,6 +3226,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