Changeset 20163


Ignore:
Timestamp:
2011/02/14 13:34:44 (11 years ago)
Author:
shutta
Message:

dtb_shippingへのinsert時に、deliv_id部分がエラー(DB2 Error: invalid number)になっていたのを、とりあえず修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r20116 r20163  
    792792                // XXX 商品種別IDは0番目の配列を使用 
    793793                $product_type_id = $this->objFormParam->getValue('product_type_id'); 
    794                 $dest['deliv_id'] = $objPurchase->getDeliv($product_type_id[0]); 
     794                $arrDeliv = $objPurchase->getDeliv($product_type_id[0]); 
     795                $dest['deliv_id'] = $arrDeliv[0]['deliv_id']; 
    795796            } 
    796797 
     
    923924                // XXX 商品種別IDは0番目の配列を使用 
    924925                $product_type_id = $this->objFormParam->getValue('product_type_id'); 
    925                 $dest['deliv_id'] = $objPurchase->getDeliv($product_type_id[0]); 
     926                $arrDeliv = $objPurchase->getDeliv($product_type_id[0]); 
     927                $dest['deliv_id'] = $arrDeliv[0]['deliv_id']; 
    926928            } 
    927929 
Note: See TracChangeset for help on using the changeset viewer.