DataObjects/Core_person_signup.php
[Pman.Core] / DataObjects / Core_person_signup.php
index 202a957..4fa4ad6 100644 (file)
@@ -52,6 +52,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
             //$temp_pwd = mt_rand(100000,999999);
             //$p->passwd = $temp_pwd;
             if($p->insert()){
+                
                 $this->delete();
 
                 //login
@@ -62,7 +63,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
                 //mail pwd
                 $htmlStr = "";
                 $htmlStr .= "Dear ".$p->honor.".".$p->lastname."<br /><br />";
-                $htmlStr .= "Congratulations on Joining HydRa.<br /><br />"
+                $htmlStr .= "Congratulations on Joining HydRa.<br /><br />";
                 $htmlStr .= "If you need to access the system again please log in using the password ";
                 $htmlStr .= $temp_pwd;