it's better :-)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4007
7612ce4b-ef26-0410-bec9-
ea0150e637f0
case ('reply'):
$send_to = $orig_header->reply_to;
if (is_array($send_to) && count($send_to)) {
- $send_to = decodeHeader($send_to->getAddr_s('reply_to'));
+ $send_to = decodeHeader($orig_header->getAddr_s('reply_to'));
} else if (is_object($send_to)) { /* unnessecarry, just for falesafe purpose */
- $send_to = decodeHeader($send_to->getAddr_s('reply_to'));
+ $send_to = decodeHeader($orig_header->getAddr_s('reply_to'));
} else {
$send_to = decodeHeader($orig_header->getAddr_s('from'));
}