From 4b48d8dc5ac45309c8ecd8595284d80ada27d59e Mon Sep 17 00:00:00 2001 From: Micheal Date: Wed, 31 Dec 2014 17:43:06 +0800 Subject: [PATCH] DataObjects/Core_person_signup.php --- DataObjects/Core_person_signup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataObjects/Core_person_signup.php b/DataObjects/Core_person_signup.php index 1a264634..4203051b 100644 --- a/DataObjects/Core_person_signup.php +++ b/DataObjects/Core_person_signup.php @@ -61,7 +61,7 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject //mail pwd $htmlStr = ""; - $htmlStr .= "Dear ".$this->honor.".".$this->lastname."

"; + $htmlStr .= "Dear ".$p->honor.".".$p->lastname."

"; $htmlStr .= "Congratulations on Joining HydRa.

" $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"; -- 2.39.2