From: Edward Date: Tue, 24 Feb 2015 08:44:38 +0000 (+0800) Subject: DataObjects/Core_person_signup.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=7325a6e33a798838cc84be1804e1814d2e2249f7 DataObjects/Core_person_signup.php --- diff --git a/DataObjects/Core_person_signup.php b/DataObjects/Core_person_signup.php index 4e989e49..fb58c66d 100644 --- a/DataObjects/Core_person_signup.php +++ b/DataObjects/Core_person_signup.php @@ -93,11 +93,14 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject // } // } - function sendVerification() + function sendVerification($roo) { $content = array( - 'template' => 'CORE_PERSON_SIGNUP_CONFIRM', + 'template' => 'CORE_PERSON_SIGNUP_VERIFICATION', + 'person' => $this, + 'serverName' => $_SERVER['SERVER_NAME'], + 'baseURL' => $roo->baseURL ); $sent = DB_DataObject::factory('core_email')->send($content);