Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* bugfix for #18757

git-svn-id: http://svn.php.net/repository/pear/packages/Mail_Queue/trunk@315455 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 922f59890e391161bffb1bfdb4890684e722d1a2 1 parent 883b269
till authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Mail/Queue.php
View
2  Mail/Queue.php
@@ -487,7 +487,7 @@ function sendMail($mail, $set_as_sent=true)
if (is_a($mail, 'Mail_Queue_Error')) {
return $mail;
}
- return Mail_Queue_Error(
+ return new Mail_Queue_Error(
"Unknown object/type: " . get_class($mail),
MAILQUEUE_ERROR_UNEXPECTED
);
Please sign in to comment.
Something went wrong with that request. Please try again.