Changeset 21421


Ignore:
Timestamp:
2012/01/24 22:46:30 (9 years ago)
Author:
Seasoft
Message:

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

File:
1 edited

Legend:

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

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