Skip to content

Commit

Permalink
Fix warning sprintf(): Too few arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr committed Feb 15, 2013
1 parent 358e35d commit 27b7390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/mail/mail.php
Expand Up @@ -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)));
}
}

Expand All @@ -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));
}
}

Expand Down

0 comments on commit 27b7390

Please sign in to comment.