Permalink
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...
till
till committed Aug 24, 2011
1 parent 883b269 commit 922f59890e391161bffb1bfdb4890684e722d1a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 Mail/Queue.php
View
@@ -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
);

0 comments on commit 922f598

Please sign in to comment.