Changeset 18982


Ignore:
Timestamp:
2010/11/06 19:34:13 (12 years ago)
Author:
AMUAMU
Message:

MDB2化の影響で、商品登録時の割当カテゴリの削除が出来ない不具合の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php

    r18892 r18982  
    859859     */ 
    860860    function removeProductByCategories($category_id, $product_id) { 
    861         $sqlval = array("category_id" => $category_id, 
    862                         "product_id" => $product_id); 
    863861        $objQuery =& SC_Query::getSingletonInstance(); 
    864862        $objQuery->delete("dtb_product_categories", 
    865                           "category_id = ? AND product_id = ?", $sqlval); 
     863                          "category_id = ? AND product_id = ?", array($category_id, $product_id)); 
    866864    } 
    867865 
Note: See TracChangeset for help on using the changeset viewer.