|
@ -308,7 +308,7 @@ class rcmail_attachment_handler |
|
|
*/ |
|
|
*/ |
|
|
public function html() |
|
|
public function html() |
|
|
{ |
|
|
{ |
|
|
list($type, $subtype) = explode($this->mimetype, '/'); |
|
|
|
|
|
|
|
|
list($type, $subtype) = explode('/', $this->mimetype); |
|
|
$part = (object) [ |
|
|
$part = (object) [ |
|
|
'charset' => $this->charset, |
|
|
'charset' => $this->charset, |
|
|
'ctype_secondary' => $subtype, |
|
|
'ctype_secondary' => $subtype, |
|
|