forked from extern/egroupware
fix fatal error cannot access self:: when no class scope is active, when calling save attachment to vfs
This commit is contained in:
parent
5ab0e9f24c
commit
8588e08692
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user