Ignore:
Timestamp:
2009/05/15 16:30:40 (15 years ago)
Author:
kajiwara
Message:

2.4.0 正式版のコミット。コミット内容の詳細はこちら(http://svn.ec-cube.net/open_trac/query?status=closed&milestone=EC-CUBE2.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r17712 r18007  
    114114            // 入力値の変換 
    115115            $this->objFormParam->convParam(); 
    116             $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess ); 
     116            $this->arrErr = $this->lfCheckError($this->arrData ); 
    117117            // 入力エラーなし 
    118118            if(count($this->arrErr) == 0) { 
     
    239239            // 入力値の変換 
    240240            $this->objFormParam->convParam(); 
    241             $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess); 
     241            $this->arrErr = $this->lfCheckError($this->arrData); 
    242242            if (!isset($this->arrErr['payment_id'])) { 
    243243                // 支払い方法の入力エラーなし 
     
    255255            // 入力値の変換 
    256256            $this->objFormParam->convParam(); 
    257             $this->arrErr = $this->lfCheckError($this->arrData, $arrInfo, $objCartSess); 
     257            $this->arrErr = $this->lfCheckError($this->arrData ); 
    258258            // 入力エラーなし 
    259259            if(count($this->arrErr) == 0) { 
     
    364364 
    365365    /* 入力内容のチェック */ 
    366     function lfCheckError($arrData, $arrInfo, $objCartSess) { 
     366    function lfCheckError($arrData) { 
    367367        // 入力データを渡す。 
    368368        $arrRet =  $this->objFormParam->getHashArray(); 
     
    370370        $objErr->arrErr = $this->objFormParam->checkError(); 
    371371 
     372        if (USE_POINT === false) { 
     373            $_POST['point_check'] = ""; 
     374            $_POST['use_point'] = "0"; 
     375        } 
    372376        if (!isset($_POST['point_check'])) $_POST['point_check'] = ""; 
    373377 
     
    387391            } 
    388392        } 
    389          
     393 
     394        $objView = new SC_MobileView(); 
     395        $objSiteInfo = $objView->objSiteInfo; 
     396        $arrInfo = $objSiteInfo->data; 
     397        $objCartSess = new SC_CartSession(); 
     398        $arrInfo = $objSiteInfo->data; 
    390399        // 購入金額の取得得 
    391400        $total_pretax = $objCartSess->getAllProductsTotal($arrInfo); 
     
    399408            } 
    400409        } 
    401         if ($pay_flag && $arrRet['payment_id'] != "") { 
     410        if ($pay_flag) { 
    402411            SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 
    403412        } 
    404          
     413 
    405414        return $objErr->arrErr; 
    406415    } 
Note: See TracChangeset for help on using the changeset viewer.