Changeset 21870


Ignore:
Timestamp:
2012/05/30 19:11:37 (12 years ago)
Author:
h_yoshimoto
Message:

#1818 受注管理>受注登録にて、最初に登録する商品の価格がおかしいバグを修正

File:
1 edited

Legend:

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

    r21867 r21870  
    809809            $arrProduct['price'] = $arrProduct['price02']; 
    810810            $arrProduct['product_name'] = $arrProduct['name']; 
    811  
     811             
    812812            $arrUpdateKeys = array( 
    813813                'product_id', 'product_class_id', 'product_type_id', 'point_rate', 
     
    817817            foreach ($arrUpdateKeys as $key) { 
    818818                $arrValues = $objFormParam->getValue($key); 
     819                // FIXME getValueで文字列が返る場合があるので配列であるかをチェック 
     820                if(!is_array($arrValues)) { 
     821                    $arrValues = array(); 
     822                } 
     823                 
    819824                if (isset($changed_no)) { 
    820825                    $arrValues[$changed_no] = $arrProduct[$key]; 
Note: See TracChangeset for help on using the changeset viewer.