Changeset 22074 for branches/version-2_12-dev
- Timestamp:
- 2012/11/05 18:30:06 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Customer.php
r22065 r22074 636 636 return array($linemax, $arrData, $objNavi); 637 637 } 638 639 /** 640 * 仮会員かどうかを判定する. 641 * 642 * @param string $login_email メールアドレス 643 * @return boolean 仮会員の場合 true 644 */ 645 public function checkTempCustomer($login_email) { 646 $objQuery =& SC_Query_Ex::getSingletonInstance(); 647 $where = 'email = ? AND status = 1 AND del_flg = 0'; 648 $exists = $objQuery->exists('dtb_customer', $where, array($login_email)); 649 return $exists; 650 } 638 651 } -
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping.php
r22063 r22074 153 153 else { 154 154 // 仮登録の場合 155 if ( $this->checkTempCustomer($objFormParam->getValue('login_email'))) {155 if (SC_Helper_Customer_Ex::checkTempCustomer($objFormParam->getValue('login_email'))) { 156 156 if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 157 157 echo $this->lfGetErrorMessage(TEMP_LOGIN_ERROR); … … 488 488 489 489 /** 490 * 仮会員かどうかを判定する.491 *492 * @param string $login_email メールアドレス493 * @return boolean 仮会員の場合 true494 */495 function checkTempCustomer($login_email) {496 $objQuery =& SC_Query_Ex::getSingletonInstance();497 $where = 'email = ? AND status = 1 AND del_flg = 0';498 $exists = $objQuery->exists('dtb_customer', $where, array($login_email));499 return $exists;500 }501 502 /**503 490 * エラーメッセージを JSON 形式で返す. 504 491 *
Note: See TracChangeset
for help on using the changeset viewer.