fix fatal error cannot access self:: when no class scope is active, when calling save attachment to vfs

This commit is contained in:
Klaus Leithoff 2016-01-12 13:37:36 +00:00
parent 5ab0e9f24c
commit 8588e08692

View File

@ -2514,7 +2514,7 @@ class mail_ui
$getParams = function ($id) { $getParams = function ($id) {
list($app,$user,$serverID,$mailbox,$uid,$part,$is_winmail,$name) = explode('::',$id,8); list($app,$user,$serverID,$mailbox,$uid,$part,$is_winmail,$name) = explode('::',$id,8);
$lId = implode('::',array($app,$user,$serverID,$mailbox,$uid)); $lId = implode('::',array($app,$user,$serverID,$mailbox,$uid));
$hA = self::splitRowID($lId); $hA = mail_ui::splitRowID($lId);
return array( return array(
'is_winmail' => $is_winmail == "null" || !$is_winmail?false:$is_winmail, 'is_winmail' => $is_winmail == "null" || !$is_winmail?false:$is_winmail,
'user' => $user, 'user' => $user,