Skip to content

Loading…

Fix incorrect declaration of new RuntimeException in JMail::Send() #1825

Closed
wants to merge 1 commit into from

1 participant

@mbabker
Joomla! member

No description provided.

@mbabker
Joomla! member

Fixed by #1829

@mbabker mbabker closed this
@mbabker mbabker deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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));
}
}
Something went wrong with that request. Please try again.