Changeset 21390 for branches/version-2_12-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php
- Timestamp:
- 2012/01/06 19:54:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php
r21145 r21390 157 157 $objQuery = SC_Query_Ex::getSingletonInstance(); 158 158 $where = '(email = ? OR email_mobile = ?) AND status = 1 AND del_flg = 0'; 159 $ ret = $objQuery->count("dtb_customer", $where, array($arrForm['login_email'], $arrForm['login_email']));159 $exists = $objQuery->exists("dtb_customer", $where, array($arrForm['login_email'], $arrForm['login_email'])); 160 160 // ログインエラー表示 TODO リファクタリング 161 if ($ret > 0) {161 if ($exists) { 162 162 if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 163 163 echo $this->lfGetErrorMessage(TEMP_LOGIN_ERROR);
Note: See TracChangeset
for help on using the changeset viewer.