Changeset 23682


Ignore:
Timestamp:
2014/11/18 01:11:27 (9 years ago)
Author:
undertree
Message:

#2651 商品を削除してもおすすめ商品が残るバグを修正

File:
1 edited

Legend:

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

    r23556 r23682  
    248248    { 
    249249        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    250         $arrRet = $objQuery->getCol('product_id', "dtb_products", $where, $arrParam); 
    251         $product_ids = array(); 
    252         foreach ($arrRet as $value) { 
    253             $product_ids[] = $value['product_id']; 
    254         } 
     250        $product_ids = $objQuery->getCol('product_id', "dtb_products", $where, $arrParam); 
     251 
    255252        $sqlval['del_flg']     = 1; 
    256253        $sqlval['update_date'] = 'CURRENT_TIMESTAMP'; 
Note: See TracChangeset for help on using the changeset viewer.