From 16e5c695dc8b7692c7f86a99d43abe5ee71da549 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 17 Nov 2017 10:31:15 -0700 Subject: [PATCH] Fix drag and drop linking of email --- filemanager/inc/class.filemanager_ui.inc.php | 2 +- mail/inc/class.mail_ui.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index d7b4a15a8b..daa9ab839b 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -653,7 +653,7 @@ class filemanager_ui if (strpos($path, 'mail::') === 0 && $path = substr($path, 6)) { // Support for dropping mail in filemanager - Pass mail back to mail app - if(ExecMethod2('mail.mail_ui.vfsSaveMessage', $path, $dir)) + if(ExecMethod2('mail.mail_ui.vfsSaveMessages', $path, $dir)) { ++$files; } diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 8020350eb4..148e823def 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -50,7 +50,7 @@ class mail_ui 'download_zip' => True, 'saveMessage' => True, 'vfsSaveAttachment' => True, - 'vfsSaveMessage' => True, + 'vfsSaveMessages' => True, 'loadEmailBody' => True, 'importMessage' => True, 'importMessageFromVFS2DraftAndDisplay'=>True,