git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7078
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$identity = '';
$from_o = $orig_header->from;
$identity = '';
$from_o = $orig_header->from;
+ if (is_array($from_o)) {
+ if (isset($from_o[0])) {
+ $from_o = $from_o[0];
+ }
+ }
if (is_object($from_o)) {
$orig_from = $from_o->getAddress();
} else {
if (is_object($from_o)) {
$orig_from = $from_o->getAddress();
} else {
if ($identity_match) {
$identity = $identity_match;
}
if ($identity_match) {
$identity = $identity_match;
}
- // we need identiy here fore draft case #845290
- // echo $identity."leer";