Changeset 21437


Ignore:
Timestamp:
2012/02/03 15:21:00 (12 years ago)
Author:
shutta
Message:

#1627 (複数配送先指定機能の使用可否をパラメータ設定化)
ロジック側での不正入力チェックを実装。

Location:
branches/version-2_12-dev/data/class/pages/shopping
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping.php

    r21420 r21437  
    197197        // 複数配送ページへ遷移 
    198198        case 'multiple': 
     199            // 複数配送先指定が無効な場合はエラー 
     200            if (USE_MULTIPLE_SHIPPING === false) { 
     201                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 
     202                exit; 
     203            } 
     204 
    199205            $this->lfInitParam($objFormParam); 
    200206            $objFormParam->setParam($_POST); 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Deliv.php

    r21420 r21437  
    135135        // お届け先複数指定 
    136136        case 'multiple': 
     137            // 複数配送先指定が無効な場合はエラー 
     138            if (USE_MULTIPLE_SHIPPING === false) { 
     139                SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 
     140                exit; 
     141            } 
     142 
    137143            SC_Response_Ex::sendRedirect('multiple.php'); 
    138144            exit; 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php

    r21420 r21437  
    7070        $objCustomer = new SC_Customer_Ex(); 
    7171        $objFormParam = new SC_FormParam_Ex(); 
     72 
     73        // 複数配送先指定が無効な場合はエラー 
     74        if (USE_MULTIPLE_SHIPPING === false) { 
     75            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, '', true); 
     76            exit; 
     77        } 
    7278 
    7379        $this->tpl_uniqid = $objSiteSess->getUniqId(); 
Note: See TracChangeset for help on using the changeset viewer.