DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index 741c989..1607a77 100644 (file)
@@ -14,11 +14,11 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
     public $id;                              // int(11)  not_null primary_key auto_increment
     public $email;                           // string(128)  not_null
     
-    //public $name;                            // string(128)  not_null
+    public $name;                            // string(128)  not_null
     public $firstname;                            // string(128)  not_null
     public $lastname;                            // string(128)  not_null
-    //public $firstname_alt;                            // string(128)  not_null
-    //public $lastname_alt;                            // string(128)  not_null
+    public $firstname_alt;                            // string(128)  not_null
+    public $lastname_alt;                            // string(128)  not_null
     
     
     public $honor;                            // string(128)  not_null
@@ -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{