global $reply_citation_style, $reply_citation_start, $reply_citation_end;
// FIXME: why object is rewritten with string.
- $orig_from = decodeHeader($orig_from->getAddress(false),false,false,true);
+ if (!is_object($orig_from)) {
+ $orig_from = '';
+ } else {
+ $orig_from = decodeHeader($orig_from->getAddress(false),false,false,true);
+ }
// $from = decodeHeader($orig_header->getAddr_s('from',"\n$indent"),false,false);
/* First, return an empty string when no citation style selected. */
}
// vim: et ts=4
-?>
\ No newline at end of file
+?>