- Timestamp:
- 2013/11/18 13:09:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_1/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php
r23124 r23278 81 81 $ParentPage = htmlspecialchars($_POST['ParentPage'], ENT_QUOTES); 82 82 } 83 84 // 正しい遷移かをチェック 85 $arrParentPageList = array(DELIV_URLPATH, MYPAGE_DELIVADDR_URLPATH, MULTIPLE_URLPATH); 86 if(!SC_Utils_Ex::isBlank($ParentPage) && !in_array($ParentPage, $arrParentPageList)) { 87 // 遷移が正しくない場合、デフォルトであるマイページの配送先追加の画面を設定する 88 $ParentPage = MYPAGE_DELIVADDR_URLPATH; 89 } 90 83 91 $this->ParentPage = $ParentPage; 84 92 … … 90 98 */ 91 99 if (!$objCustomer->isLoginSuccess(true) && $ParentPage != MULTIPLE_URLPATH) { 92 $this->tpl_onload = "eccube.changeParentUrl('". $ this->getLocation($_POST['ParentPage'])."'); window.close();";100 $this->tpl_onload = "eccube.changeParentUrl('". $ParentPage ."'); window.close();"; 93 101 } 94 102
Note: See TracChangeset
for help on using the changeset viewer.