Ignore:
Timestamp:
2012/12/07 17:04:44 (10 years ago)
Author:
tokuhiro
Message:

#1972 商品を削除した際に、おすすめ商品からも削除される仕様に変更

File:
1 edited

Legend:

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

    r21867 r22124  
    262262        $objQuery->update('dtb_products_class', $sqlval, "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 
    263263        $objQuery->delete('dtb_customer_favorite_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 
     264        $objQuery->delete('dtb_best_products', "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 
    264265        $objQuery->update('dtb_products', $sqlval, $where, $arrParam); 
    265266        $objQuery->commit(); 
Note: See TracChangeset for help on using the changeset viewer.