Ignore:
Timestamp:
2012/01/06 19:54:03 (12 years ago)
Author:
kotani
Message:

Merge from version-2_11-dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/frontparts/LC_Page_FrontParts_LoginCheck.php

    r21145 r21390  
    157157                    $objQuery = SC_Query_Ex::getSingletonInstance(); 
    158158                    $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'])); 
    160160                    // ログインエラー表示 TODO リファクタリング 
    161                     if($ret > 0) { 
     161                    if ($exists) { 
    162162                        if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_SMARTPHONE) { 
    163163                            echo $this->lfGetErrorMessage(TEMP_LOGIN_ERROR); 
Note: See TracChangeset for help on using the changeset viewer.