Skip to content

Commit

Permalink
One getHeader() too many.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 12, 2014
1 parent a3b64ce commit e6348bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Mime/Viewer/Pgp.php
Expand Up @@ -499,7 +499,7 @@ protected function _getSender()
if (is_null($this->_sender)) {
$from = $this->getConfigParam('imp_contents')->getHeader()->getHeader('from');
$this->_sender = $from
? $from->getHeader('from')->getAddressList(true)->first()
? $from->getAddressList(true)->first()
: new Horde_Mail_Rfc822_Address();
}

Expand Down

0 comments on commit e6348bf

Please sign in to comment.