DataObjects/Core_person_signup.php
authorMicheal <micheal@roojs.com>
Wed, 31 Dec 2014 09:57:00 +0000 (17:57 +0800)
committerMicheal <micheal@roojs.com>
Wed, 31 Dec 2014 09:57:00 +0000 (17:57 +0800)
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;
                 $headers .= ">\r\n";
 
                 $body = $htmlStr;
-                if(mail($recipient_email, $subject, $body, $headers)){
+                if(!mail($recipient_email, $subject, $body, $headers)){
                     error_log("Sending failed.");
                 }
             }else{
                     error_log("Sending failed.");
                 }
             }else{