diff options
Diffstat (limited to 'core/Mail.php')
-rw-r--r-- | core/Mail.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Mail.php b/core/Mail.php index 833e01fdb6..77cb44bef4 100644 --- a/core/Mail.php +++ b/core/Mail.php @@ -34,6 +34,7 @@ class Piwik_Mail extends Zend_Mail * * @param string $email * @param null|string $name + * @return Zend_Mail */ public function setFrom($email, $name = null) { @@ -50,7 +51,7 @@ class Piwik_Mail extends Zend_Mail $piwikHost = $url['host']; } $email = str_replace('{DOMAIN}', $piwikHost, $email); - parent::setFrom($email, $name); + return parent::setFrom($email, $name); } /** |