mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 19:50:36 -04:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user