Permalink
Browse files

Merge pull request #1829 from piotr-cz/patch_JMail

Fix warning `sprintf(): Too few arguments` (JMail)
  • Loading branch information...
2 parents 358e35d + 27b7390 commit b8294d0d4a973b20cb64d7b8fc02d8b002778d54 @mbabker mbabker committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 libraries/joomla/mail/mail.php
View
4 libraries/joomla/mail/mail.php
@@ -82,7 +82,7 @@ public function Send()
}
else
{
- throw new RuntimeException(sprintf('%s::Send mail not enabled.'), get_class($this));
+ throw new RuntimeException(sprintf('%s::Send mail not enabled.', get_class($this)));
}
}
@@ -96,7 +96,7 @@ public function Send()
}
else
{
- throw new RuntimeException(sprintf('%s::Send failed: "%s".'), get_class($this), $this->ErrorInfo);
+ throw new RuntimeException(sprintf('%s::Send failed: "%s".', get_class($this), $this->ErrorInfo));
}
}

0 comments on commit b8294d0

Please sign in to comment.