From 0190a1a908ff04209249f176bc60149b38f489e2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 21 Oct 2014 18:49:38 +0000 Subject: [PATCH] fixed broken import after r49077 --- emailadmin/inc/class.emailadmin_imapbase.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emailadmin/inc/class.emailadmin_imapbase.inc.php b/emailadmin/inc/class.emailadmin_imapbase.inc.php index 81e413a2b2..76affe112a 100644 --- a/emailadmin/inc/class.emailadmin_imapbase.inc.php +++ b/emailadmin/inc/class.emailadmin_imapbase.inc.php @@ -6061,6 +6061,10 @@ class emailadmin_imapbase */ function parseFileIntoMailObject($mailObject,$tmpFileName,&$Header,&$Body) { + if (parse_url($tmpFileName, PHP_URL_SCHEME) != 'vfs') + { + $tmpFileName = $GLOBALS['egw_info']['server']['temp_dir'].SEP.basename($tmpFileName); + } $message = file_get_contents($tmpFileName); try {