Changeset 21514 for branches/version-2_12-dev/data/class/pages/regist
- Timestamp:
- 2012/02/15 19:56:17 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/regist/LC_Page_Regist.php
r21481 r21514 71 71 //-- 入力チェック 72 72 $this->arrErr = $this->lfErrorCheck($_GET); 73 if ($this->arrErr) SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, $this->arrErr['id']);73 if ($this->arrErr) SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, $this->arrErr['id']); 74 74 75 75 $registSecretKey = $this->lfRegistData($_GET); //本会員登録(フラグ変更) … … 80 80 //-- それ以外のアクセスは無効とする 81 81 default: 82 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, "無効なアクセスです。");82 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, '無効なアクセスです。'); 83 83 break; 84 84 } … … 108 108 109 109 $objQuery->begin(); 110 $objQuery->update('dtb_customer', $arrRegist, "secret_key = ? AND status = 1", array($array['id']));110 $objQuery->update('dtb_customer', $arrRegist, 'secret_key = ? AND status = 1', array($array['id'])); 111 111 $objQuery->commit(); 112 112 … … 127 127 128 128 if (!is_numeric(SC_Helper_Customer_Ex::sfGetCustomerId($array['id'], true))) { 129 $objErr->arrErr['id'] = "※ 既に会員登録が完了しているか、無効なURLです。<br>";129 $objErr->arrErr['id'] = '※ 既に会員登録が完了しているか、無効なURLです。<br>'; 130 130 } 131 131 132 132 } else { 133 $objErr->arrErr['id'] = "無効なURLです。メールに記載されている本会員登録用URLを再度ご確認ください。";133 $objErr->arrErr['id'] = '無効なURLです。メールに記載されている本会員登録用URLを再度ご確認ください。'; 134 134 } 135 135 return $objErr->arrErr; … … 150 150 151 151 //-- 会員データを取得 152 $arrCustomer = $objQuery->select( "*", 'dtb_customer', "secret_key = ?", array($registSecretKey));152 $arrCustomer = $objQuery->select('*', 'dtb_customer', "secret_key = ?", array($registSecretKey)); 153 153 $data = $arrCustomer[0]; 154 154 $objCustomer->setLogin($data['email']); … … 159 159 $objMailText->assign('name01', $data['name01']); 160 160 $objMailText->assign('name02', $data['name02']); 161 $toCustomerMail = $objMailText->fetch( "mail_templates/customer_regist_mail.tpl");161 $toCustomerMail = $objMailText->fetch('mail_templates/customer_regist_mail.tpl'); 162 162 $subject = $objHelperMail->sfMakesubject('会員登録が完了しました。'); 163 163 $objMail = new SC_SendMail();
Note: See TracChangeset
for help on using the changeset viewer.