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!)
This commit is contained in:
Bharat Mediratta
2009-02-08 20:01:15 +00:00
parent 0f13f12638
commit b31c79a71f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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;
}
}