Changeset 17732


Ignore:
Timestamp:
2008/12/04 13:52:56 (12 years ago)
Author:
takegami
Message:

docomo時エラーチェックを修正

File:
1 edited

Legend:

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

    r17731 r17732  
    101101        //docomo用にデータを取り出す。 
    102102        if(SC_MobileUserAgent::getCarrier() == 'docomo'){ 
    103             $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 
     103            if($_SESSION['mobile']['phone_id'] == "" && strlen($_SESSION['mobile']['phone_id']) == 0) 
     104                $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent::getId(); 
    104105        } 
    105106        if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { 
Note: See TracChangeset for help on using the changeset viewer.