Ignore:
Timestamp:
2011/08/11 19:37:10 (9 years ago)
Author:
shutta
Message:

refs #800 (SQL標準関数を使用する)
CURRENT_TIMESTAMP を使用するように now() を置換。

File:
1 edited

Legend:

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

    r21183 r21185  
    257257        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    258258        $sqlval['del_flg']     = 1; 
    259         $sqlval['update_date'] = 'now()'; 
     259        $sqlval['update_date'] = 'CURRENT_TIMESTAMP'; 
    260260        $objQuery->begin(); 
    261261        $objQuery->update('dtb_products_class', $sqlval, "product_id IN (SELECT product_id FROM dtb_products WHERE $where)", $arrParam); 
Note: See TracChangeset for help on using the changeset viewer.