Changeset 16381
- Timestamp:
- 2007/10/11 17:34:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/shopping/LC_Page_Shopping_Deliv.php
r16379 r16381 116 116 // 削除 117 117 case 'delete': 118 if ( sfIsInt($_POST['other_deliv_id'])) {118 if (SC_Utils_Ex::sfIsInt($_POST['other_deliv_id'])) { 119 119 $objQuery = new SC_Query(); 120 120 $where = "other_deliv_id = ?"; … … 231 231 232 232 // ログインチェック 233 if($_POST['mode'] != 'login' && !$objCustomer->isLoginSuccess( )) {233 if($_POST['mode'] != 'login' && !$objCustomer->isLoginSuccess(true)) { 234 234 // 不正アクセスとみなす 235 235 SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR, "", false, "", true); … … 265 265 } else { 266 266 // ログインページに戻る 267 $this->sendRedirect($this->getLocation( SC_Helper_Mobile_Ex::gfAddSessionId(MOBILE_URL_SHOP_TOP)));267 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_TOP), true); 268 268 exit; 269 269 } … … 272 272 $objCustomer->updateMobilePhoneId(); 273 273 274 // 携帯のメールアドレスをコピーする。 275 $objCustomer->updateEmailMobile(); 276 277 // 携帯のメールアドレスが登録されていない場合 278 if (!$objCustomer->hasValue('email_mobile')) { 279 $this->sendRedirect($this->getLocation(SC_Helper_Mobile_Ex::gfAddSessionId("../entry/email_mobile.php"))); 280 exit; 274 /* 275 * email がモバイルドメインでは無く, 276 * 携帯メールアドレスが登録されていない場合 277 */ 278 $objMobile = new SC_Helper_Mobile_Ex(); 279 if (!$objMobile->gfIsMobileMailAddress($objCustomer->getValue('email'))) { 280 if (!$objCustomer->hasValue('email_mobile')) { 281 $this->sendRedirect($this->getLocation("../entry/email_mobile.php"), true); 282 } 281 283 } 282 284 break; … … 299 301 $objSiteSess->setRegistFlag(); 300 302 // お支払い方法選択ページへ移動 301 $this->sendRedirect($this->getLocation( SC_Helper_Mobile_Ex::gfAddSessionId(MOBILE_URL_SHOP_PAYMENT)));303 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 302 304 exit; 303 305 }else{ … … 317 319 $objSiteSess->setRegistFlag(); 318 320 // お支払い方法選択ページへ移動 319 $this->sendRedirect($this->getLocation( SC_Helper_Mobile_Ex::gfAddSessionId(MOBILE_URL_SHOP_PAYMENT)));321 $this->sendRedirect($this->getLocation(MOBILE_URL_SHOP_PAYMENT), true); 320 322 exit; 321 323 } … … 348 350 case 'return': 349 351 // 確認ページへ移動 350 $this->sendRedirect($this->getLocation( SC_Helper_Mobile_Ex::gfAddSessionId(MOBILE_URL_CART_TOP)));352 $this->sendRedirect($this->getLocation(MOBILE_URL_CART_TOP), true); 351 353 exit; 352 354 break;
Note: See TracChangeset
for help on using the changeset viewer.