diff --git a/felamimail/inc/class.felamimail_bo.inc.php b/felamimail/inc/class.felamimail_bo.inc.php index 8b28e8b30f..7a073c2d8d 100644 --- a/felamimail/inc/class.felamimail_bo.inc.php +++ b/felamimail/inc/class.felamimail_bo.inc.php @@ -3355,6 +3355,11 @@ class felamimail_bo //if ( $_uid && $partID) error_log(__METHOD__.__LINE__.array2string($structure).' Uid:'.$_uid.' PartID:'.$partID.' -> '.array2string($this->icServer->getParsedHeaders($_uid, true, $partID, true))); if(isset($structure->parameters['NAME'])) { + //error_log(__METHOD__.__LINE__.array2string(substr($structure->parameters['NAME'],0,strlen('data:')))); + if (!is_array($structure->parameters['NAME']) && substr($structure->parameters['NAME'],0,strlen('data:'))==='data:') { + $namecounter++; + return lang("unknown").$namecounter.($structure->subType ? ".".$structure->subType : ""); + } if (is_array($structure->parameters['NAME'])) $structure->parameters['NAME'] = implode(' ',$structure->parameters['NAME']); return rawurldecode(self::decode_header($structure->parameters['NAME'])); } elseif(isset($structure->dparameters['FILENAME'])) { diff --git a/felamimail/inc/class.felamimail_hooks.inc.php b/felamimail/inc/class.felamimail_hooks.inc.php index 897421aba3..a19d36fc6f 100644 --- a/felamimail/inc/class.felamimail_hooks.inc.php +++ b/felamimail/inc/class.felamimail_hooks.inc.php @@ -737,7 +737,7 @@ class felamimail_hooks $file = Array( 'Site Configuration' => egw::link('/index.php',array('menuaction'=>'admin.uiconfig.index','appname'=>'felamimail')), - 'eMailAdmin: Profilemanagement' => egw::link('/index.php','menuaction=felamimail.uifelamimail.redirectToEmailadmin'), + 'eMailAdmin: Profilemanagement' => egw::link('/index.php','menuaction=emailadmin.emailadmin_ui.index'), ); display_section($appname,$title,$file); }