Ignore:
Timestamp:
2011/08/11 19:37:10 (13 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_Category.php

    r20970 r21185  
    287287        $arrCategory = array(); 
    288288        $arrCategory['category_name'] = $objFormParam->getValue('category_name'); 
    289         $arrCategory['update_date']   = 'NOW()'; 
     289        $arrCategory['update_date']   = 'CURRENT_TIMESTAMP'; 
    290290        $this->updateCategory($objFormParam->getValue('category_id'), $arrCategory); 
    291291    } 
     
    482482        $arrCategory['category_name'] = $category_name; 
    483483        $arrCategory['parent_category_id'] = $parent_category_id; 
    484         $arrCategory['create_date'] = "Now()"; 
    485         $arrCategory['update_date'] = "Now()"; 
     484        $arrCategory['create_date'] = 'CURRENT_TIMESTAMP'; 
     485        $arrCategory['update_date'] = 'CURRENT_TIMESTAMP'; 
    486486        $arrCategory['creator_id']  = $creator_id; 
    487487        $arrCategory['rank']        = $rank; 
Note: See TracChangeset for help on using the changeset viewer.