Changeset 18062


Ignore:
Timestamp:
2009/06/09 13:24:51 (13 years ago)
Author:
Seasoft
Message:

merge r17814
・取得元: version-2_4
【取得元のログメッセージ】

  • MySQL環境下で商品の複製ができない事象を改修(create_dateにnowを明示的に代入)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r18059 r18062  
    475475                    $col = SC_Utils_Ex::sfGetCommaList($arrColList); 
    476476 
    477                     $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"])); 
     477                    $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"])); 
    478478                } 
    479479            } 
Note: See TracChangeset for help on using the changeset viewer.