mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
fixed PHP Fatal error: Using $this when not in object context
This commit is contained in:
parent
57c2c913d1
commit
2a32284616
@ -334,8 +334,8 @@ class mail_bo
|
|||||||
$mail = mail_bo::getInstance(false, $_profile_id,false);
|
$mail = mail_bo::getInstance(false, $_profile_id,false);
|
||||||
//_debug_array( $_profile_id);
|
//_debug_array( $_profile_id);
|
||||||
//$mail->mailPreferences = $mail->bopreferences->getPreferences($_profile_id,1);
|
//$mail->mailPreferences = $mail->bopreferences->getPreferences($_profile_id,1);
|
||||||
$this->icServer = emailadmin_account::read($_profile_id)->imapServer();
|
$mail->icServer = emailadmin_account::read($_profile_id)->imapServer();
|
||||||
$this->ogServer = emailadmin_account::read($_profile_id)->smtpServer();
|
$mail->ogServer = emailadmin_account::read($_profile_id)->smtpServer();
|
||||||
return $mail;
|
return $mail;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4498,7 +4498,7 @@ class mail_bo
|
|||||||
if ($part->getDisposition()=='attachment')
|
if ($part->getDisposition()=='attachment')
|
||||||
{
|
{
|
||||||
$headerObject['ATTACHMENTS'][$mime_id]=$part->getAllDispositionParameters();
|
$headerObject['ATTACHMENTS'][$mime_id]=$part->getAllDispositionParameters();
|
||||||
|
|
||||||
$structure_bytes = $part->getBytes();
|
$structure_bytes = $part->getBytes();
|
||||||
$structure_mime=$mime_type;
|
$structure_mime=$mime_type;
|
||||||
$structure_partID=$mime_id;
|
$structure_partID=$mime_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user