Changeset 21463


Ignore:
Timestamp:
2012/02/09 12:34:45 (9 years ago)
Author:
Seasoft
Message:

#1614 (商品登録CSVで商品ステータスを全OFFに更新できない)

Location:
branches/version-2_11-dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev

  • branches/version-2_11-dev/data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php

    r21410 r21463  
    415415 
    416416        // カテゴリー登録 
    417         if($arrList['category_ids'] != "") { 
     417        if (isset($arrList['category_ids'])) { 
    418418            $arrCategory_id = explode(',', $arrList['category_ids']); 
    419419            $this->objDb->updateProductCategories($arrCategory_id, $product_id); 
    420420        } 
    421421        // 商品ステータス登録 
    422         if($arrList['product_statuses'] != "") { 
     422        if (isset($arrList['product_statuses'])) { 
    423423            $arrStatus_id = explode(',', $arrList['product_statuses']); 
    424424            $objProduct->setProductStatus($product_id, $arrStatus_id); 
Note: See TracChangeset for help on using the changeset viewer.