From b31c79a71f37bcbe221033e1e664d5feb17e0a42 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 8 Feb 2009 20:01:15 +0000 Subject: Fix a bug that I think I introduced in my last sendmail refactor where I inverted the expectations on the result from mail() causing image uploads to fail (even though the mail gets sent!) --- core/tests/Sendmail_Test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/tests') diff --git a/core/tests/Sendmail_Test.php b/core/tests/Sendmail_Test.php index 4e813b16..777fea55 100644 --- a/core/tests/Sendmail_Test.php +++ b/core/tests/Sendmail_Test.php @@ -110,5 +110,6 @@ class Sendmail_For_Test extends Sendmail { public function mail($to, $subject, $message, $headers) { $this->send_text = "To: $to\r\n{$headers}\r\nSubject: $this->subject\r\n\r\n$message"; + return true; } } \ No newline at end of file -- cgit v1.2.3