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_ProductClass.php

    r21183 r21185  
    262262            // 該当関数が無いため, セッションの値を直接代入 
    263263            $arrPC['creator_id'] = $_SESSION['member_id']; 
    264             $arrPC['update_date'] = 'now()'; 
     264            $arrPC['update_date'] = 'CURRENT_TIMESTAMP'; 
    265265            $arrPC['del_flg'] = $del_flg; 
    266266 
     
    294294            } 
    295295 
    296             $arrPC['create_date'] = "now()"; 
     296            $arrPC['create_date'] = 'CURRENT_TIMESTAMP'; 
    297297            $arrPC['product_class_id'] = $objQuery->nextVal('dtb_products_class_product_class_id'); 
    298298            /* 
     
    306306        // 規格無し用の商品規格を非表示に 
    307307        $arrBlank['del_flg'] = 1; 
    308         $arrBlank['update_date'] = 'now()'; 
     308        $arrBlank['update_date'] = 'CURRENT_TIMESTAMP'; 
    309309        $objQuery->update("dtb_products_class", $arrBlank, 
    310310                          "product_id = ? AND class_combination_id IS NULL", 
Note: See TracChangeset for help on using the changeset viewer.