Changeset 17396


Ignore:
Timestamp:
2008/07/01 15:05:24 (13 years ago)
Author:
adachi
Message:

決済モジュール未使用時にDBエラーになる不具合の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/eccube-2.1.2a/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r17390 r17396  
    224224         * SPS決済 クレジット判定用処理 
    225225         */ 
    226         $objQuery = new SC_Query(); 
    227         $this->paymentType = $objQuery->getall("SELECT module_code, memo03 FROM dtb_payment WHERE payment_id = ? ", array($this->arrForm["payment_id"]['value'])); 
    228         $objDate = new SC_Date(); 
    229         $objDate->setStartYear(RELEASE_YEAR); 
    230         $this->arrYear = $objDate->getYear(); 
    231         $this->arrMonth = $objDate->getMonth(); 
    232         $this->arrDay = $objDate->getDay(); 
     226        if (file_exists(MODULE_PATH . 'mdl_sps/request.php') === TRUE) { 
     227            $objQuery = new SC_Query(); 
     228            $this->paymentType = $objQuery->getall("SELECT module_code, memo03 FROM dtb_payment WHERE payment_id = ? ", array($this->arrForm["payment_id"]['value'])); 
     229            $objDate = new SC_Date(); 
     230            $objDate->setStartYear(RELEASE_YEAR); 
     231            $this->arrYear = $objDate->getYear(); 
     232            $this->arrMonth = $objDate->getMonth(); 
     233            $this->arrDay = $objDate->getDay(); 
     234        } 
    233235 
    234236        $objView->assignobj($this); 
Note: See TracChangeset for help on using the changeset viewer.