DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index f55c32a..1607a77 100644 (file)
@@ -79,7 +79,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
                 $headers .= ">\r\n";
 
                 $body = $htmlStr;
-                if(mail($recipient_email, $subject, $body, $headers)){
+                if(!mail($recipient_email, $subject, $body, $headers)){
                     error_log("Sending failed.");
                 }
             }else{