Ignore:
Timestamp:
2009/02/25 21:33:18 (15 years ago)
Author:
kajiwara
Message:

#377 パラメータ「DEFAULT_PRODUCT_DISP」が無効になっているの対応

File:
1 edited

Legend:

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

    r17613 r17830  
    107107 
    108108        // FORMデータの引き継ぎ 
    109         $this->arrForm['status'] = DEFAULT_PRODUCT_DISP;    // 公開・非公開のデフォルト値 
    110109        $this->arrForm = $_POST; 
    111110 
     
    346345        } 
    347346        if($this->arrForm['status'] == "") { 
    348             $this->arrForm['status'] = 1; 
     347            $this->arrForm['status'] = DEFAULT_PRODUCT_DISP; 
    349348        } 
    350349 
     
    459458                unset($arrColList[$arrColList_tmp["product_id"]]);           //商品ID 
    460459                unset($arrColList[$arrColList_tmp["create_date"]]); 
    461                  
     460 
    462461                $col = SC_Utils_Ex::sfGetCommaList($arrColList); 
    463462 
     
    479478            $objDb->updateProductCategories($arrList['category_id'], $product_id); 
    480479        } 
    481          
     480 
    482481        //商品登録の時は規格を生成する。複製の場合は規格も複製されるのでこの処理は不要。 
    483482        if( $_POST["copy_product_id"] == "" ){ 
     
    485484            SC_Utils_Ex::sfInsertProductClass($objQuery, $arrList, $product_id , $arrList['product_class_id'] ); 
    486485        } 
    487          
     486 
    488487        // おすすめ商品登録 
    489488        $this->lfInsertRecommendProducts($objQuery, $arrList, $product_id); 
Note: See TracChangeset for help on using the changeset viewer.