diff options
author | robocoder <anthon.pang@gmail.com> | 2010-08-12 05:18:57 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2010-08-12 05:18:57 +0400 |
commit | ba3a3f11e563961becc5e0a35ce2c1890d0ed83d (patch) | |
tree | 30bab0a8fe4e64be255d55608a4e7740aafc16f3 /core/Mail.php | |
parent | c34d23d41748df04f90d1274dadd2f9b6b90dc39 (diff) |
argument 2 to Piwik_Mail::setFrom is optional
git-svn-id: http://dev.piwik.org/svn/trunk@2914 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Mail.php')
-rw-r--r-- | core/Mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Mail.php b/core/Mail.php index d3a0daf384..14b5885f11 100644 --- a/core/Mail.php +++ b/core/Mail.php @@ -29,7 +29,7 @@ class Piwik_Mail extends Zend_Mail $this->initSmtpTransport(); } - public function setFrom($email, $name) + public function setFrom($email, $name = null) { $piwikHost = @$_SERVER['HTTP_HOST']; if(strlen($piwikHost) == 0) |