Changeset 17833


Ignore:
Timestamp:
2009/02/25 22:03:42 (14 years ago)
Author:
kajiwara
Message:

#424 MySQL環境下で商品の複写ができない不具合を解消

File:
1 edited

Legend:

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

    r17830 r17833  
    461461                $col = SC_Utils_Ex::sfGetCommaList($arrColList); 
    462462 
    463                 $objQuery->query("INSERT INTO dtb_products_class (product_id, ". $col .") SELECT ?, " . $col. " FROM dtb_products_class WHERE product_id = ? ORDER BY product_class_id", array($product_id, $_POST["copy_product_id"])); 
     463                $objQuery->query("INSERT INTO dtb_products_class (product_id, create_date, ". $col .") SELECT ?, now(), " . $col. " FROM dtb_products_class WHERE product_id = ? ORDER BY product_class_id", array($product_id, $_POST["copy_product_id"])); 
    464464 
    465465            } 
Note: See TracChangeset for help on using the changeset viewer.