Changeset 18153


Ignore:
Timestamp:
2009/06/30 14:47:05 (11 years ago)
Author:
kajiwara
Message:

#496 トラックバック管理の検索条件設定で投稿日を設定して検索するとエラーになる不具合を修正

File:
1 edited

Legend:

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

    r16741 r18153  
    169169                    case 'search_startyear': 
    170170                        if (isset($_POST['search_startyear']) && isset($_POST['search_startmonth']) && isset($_POST['search_startday'])) { 
    171                             $date = sfGetTimestamp($_POST['search_startyear'], $_POST['search_startmonth'], $_POST['search_startday']); 
     171                            $date = SC_Utils_Ex::sfGetTimestamp($_POST['search_startyear'], $_POST['search_startmonth'], $_POST['search_startday']); 
    172172                            $where.= " AND A.create_date >= ? "; 
    173173                            $arrval[] = $date; 
     
    177177                    case 'search_endyear': 
    178178                        if (isset($_POST['search_startyear']) && isset($_POST['search_startmonth']) && isset($_POST['search_startday'])) { 
    179                             $date = sfGetTimestamp($_POST['search_endyear'], $_POST['search_endmonth'], $_POST['search_endday']); 
     179                            $date = SC_Utils_Ex::sfGetTimestamp($_POST['search_endyear'], $_POST['search_endmonth'], $_POST['search_endday']); 
    180180 
    181181                            $end_date = date("Y/m/d",strtotime("1 day" ,strtotime($date))); 
Note: See TracChangeset for help on using the changeset viewer.