Ignore:
Timestamp:
2012/03/26 21:44:52 (12 years ago)
Author:
Seasoft
Message:

#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Customer.php

    r21593 r21684  
    114114        //docomo用にデータを取り出す。 
    115115        if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 
    116             if($_SESSION['mobile']['phone_id'] == '' && strlen($_SESSION['mobile']['phone_id']) == 0) 
     116            if ($_SESSION['mobile']['phone_id'] == '' && strlen($_SESSION['mobile']['phone_id']) == 0) { 
    117117                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 
     118            } 
    118119        } 
    119120        if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
     
    138139        //docomo用にデータを取り出す。 
    139140        if (SC_MobileUserAgent_Ex::getCarrier() == 'docomo') { 
    140             if($_SESSION['mobile']['phone_id'] == '' && strlen($_SESSION['mobile']['phone_id']) == 0) 
     141            if ($_SESSION['mobile']['phone_id'] == '' && strlen($_SESSION['mobile']['phone_id']) == 0) { 
    141142                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 
     143            } 
    142144        } 
    143145        if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
     
    226228    function isLoginSuccess($dont_check_email_mobile = false) { 
    227229        // ログイン時のメールアドレスとDBのメールアドレスが一致している場合 
    228         if(isset($_SESSION['customer']['customer_id']) 
    229             && SC_Utils_Ex::sfIsInt($_SESSION['customer']['customer_id'])) { 
    230  
     230        if (isset($_SESSION['customer']['customer_id']) 
     231            && SC_Utils_Ex::sfIsInt($_SESSION['customer']['customer_id']) 
     232        ) { 
    231233            $objQuery = new SC_Query_Ex(); 
    232234            $email = $objQuery->get('email', 'dtb_customer', 'customer_id = ?', array($_SESSION['customer']['customer_id'])); 
Note: See TracChangeset for help on using the changeset viewer.