[Svn-src-all:1242] [version-2_5-dev 20131] lfRegistEmailMobileを修正 #979
kimoto
admin @ mail.ec-cube.net
2011年 2月 10日 (木) 15:39:01 JST
Subversion committed to /home/svn/open 20131
http://svn.ec-cube.net/open_trac/changeset/20131
┌────────────────────────────┐
│更新者 : kimoto │
│更新日時: 2011-02-10 15:39:00 +0900 (木, 10 2月 2011)│
└────────────────────────────┘
Log:
--------------------------------------------------------
lfRegistEmailMobileを修正 #979
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php
変更: branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php 2011-02-10 06:36:12 UTC (rev 20130)
+++ branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry_EmailMobile.php 2011-02-10 06:39:00 UTC (rev 20131)
@@ -73,8 +73,10 @@
$this->arrErr = $this->lfCheckError($objFormParam);
if (empty($this->arrErr)) {
- $this->lfRegistEmailMobile(strtolower($objFormParam->getValue('email_mobile')),
- $objCustomer->getValue('customer_id'));
+ $email_mobile = $this->lfRegistEmailMobile(strtolower($objFormParam->getValue('email_mobile')),
+ $objCustomer->getValue('customer_id'));
+
+ $objCustomer->setValue('email_mobile', $email_mobile);
$this->tpl_mainpage = 'entry/email_mobile_complete.tpl';
$this->tpl_title = '携帯メール登録完了';
}
@@ -139,7 +141,7 @@
array('email_mobile' => $email_mobile),
'customer_id = ?', array($customer_id));
- $objCustomer->setValue('email_mobile', $email_mobile);
+ return $email_mobile;
}
}
?>
Svn-src-all メーリングリストの案内