Changeset 21684 for branches/version-2_12-dev/data/class/SC_Customer.php
- Timestamp:
- 2012/03/26 21:44:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_Customer.php
r21593 r21684 114 114 //docomo用にデータを取り出す。 115 115 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) { 117 117 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 118 } 118 119 } 119 120 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { … … 138 139 //docomo用にデータを取り出す。 139 140 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) { 141 142 $_SESSION['mobile']['phone_id'] = SC_MobileUserAgent_Ex::getId(); 143 } 142 144 } 143 145 if (!isset($_SESSION['mobile']['phone_id']) || $_SESSION['mobile']['phone_id'] === false) { … … 226 228 function isLoginSuccess($dont_check_email_mobile = false) { 227 229 // ログイン時のメールアドレスと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 ) { 231 233 $objQuery = new SC_Query_Ex(); 232 234 $email = $objQuery->get('email', 'dtb_customer', 'customer_id = ?', array($_SESSION['customer']['customer_id']));
Note: See TracChangeset
for help on using the changeset viewer.