X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=DataObjects%2FCore_person_signup.php;h=c88898d5418db76f2cd70fb62ad4032243bbc26b;hb=6546cedbb752edf1b5178fb1cf6cdbdb9856ff88;hp=9e2f81bbdf142e2ddfbf9c60401fcbecdb62fe72;hpb=0114e951620e728902457a35a2e75e85e76752ab;p=Pman.Core diff --git a/DataObjects/Core_person_signup.php b/DataObjects/Core_person_signup.php index 9e2f81bb..c88898d5 100644 --- a/DataObjects/Core_person_signup.php +++ b/DataObjects/Core_person_signup.php @@ -74,20 +74,23 @@ class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject } if(empty($admin)){ - $this->jerr("Please contact our administrators - system setting problem"); + $roo->jerr("Please contact our administrators - system setting problem"); } $content = array( 'template' => $template, 'person' => $this, - 'bcc' => $admin, + 'bcc' => $admin, 'serverName' => $_SERVER['SERVER_NAME'], 'baseURL' => $roo->baseURL ); + print_R($content);exit; $sent = DB_DataObject::factory('core_email')->send($content); + print_R($sent);exit; + if(!is_object($sent)){ return true; }