Ignore:
Timestamp:
2012/06/12 14:16:01 (12 years ago)
Author:
fbkoyama
Message:

#1866 エラーチェックの場所を修正。それに伴いgetMode内でのエラーチェックを外す。 また、エラーが全くない状態でないとレビュー一覧が表示されないよう修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Review.php

    r21867 r21913  
    9898        $this->arrForm = $objFormParam->getHashArray(); 
    9999        $this->arrHidden = $this->lfSetHidden($this->arrForm); 
     100         
     101        // 入力パラメーターチェック 
     102        $this->arrErr = $this->lfCheckError($objFormParam); 
     103        if(!SC_Utils_Ex::isBlank($this->arrErr)) { 
     104            return; 
     105        } 
    100106 
    101107        switch ($this->getMode()) { 
     
    104110            case 'search': 
    105111            case 'csv': 
    106                 // エラーチェック 
    107                 $this->arrErr = $this->lfCheckError($objFormParam); 
    108                 if (!$this->arrErr) { 
    109                     // 検索条件を取得 
    110                     list($where, $arrWhereVal) = $this->lfGetWhere($this->arrForm); 
    111                 } 
     112                 
     113                // 検索条件を取得 
     114                list($where, $arrWhereVal) = $this->lfGetWhere($this->arrForm); 
     115                // 検索結果を取得 
     116                $this->arrReview = $this->lfGetReview($this->arrForm, $where, $arrWhereVal); 
    112117 
    113118                //CSVダウンロード 
     
    117122                    SC_Response_Ex::actionExit(); 
    118123                } 
    119  
    120                 // 検索条件を取得 
    121                 $this->arrReview = $this->lfGetReview($this->arrForm, $where, $arrWhereVal); 
     124                 
    122125                break; 
    123126            default: 
Note: See TracChangeset for help on using the changeset viewer.