DataObjects/Core_person_signup.php
authorMicheal <micheal@roojs.com>
Wed, 31 Dec 2014 09:43:06 +0000 (17:43 +0800)
committerMicheal <micheal@roojs.com>
Wed, 31 Dec 2014 09:43:06 +0000 (17:43 +0800)
DataObjects/Core_person_signup.php

index 1a26463..4203051 100644 (file)
@@ -61,7 +61,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
 
                 //mail pwd
                 $htmlStr = "";
-                $htmlStr .= "Dear ".$this->honor.".".$this->lastname."<br /><br />";
+                $htmlStr .= "Dear ".$p->honor.".".$p->lastname."<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; 
@@ -69,7 +69,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
                 $name = "Roojs";
                 $email_sender = "no-reply@roojs.com";
                 $subject = "Congratulations";
-                $recipient_email = $email;
+                $recipient_email = $p->email;
  
                 $headers  = "MIME-Version: 1.0\r\n";
                 $headers .= "Content-type: text/html; charset=utf-8\r\n";