Changeset 18035


Ignore:
Timestamp:
2009/06/01 18:06:16 (12 years ago)
Author:
Seasoft
Message:

投稿日を設定して検索するとエラー画面になるバグを修正。
フォーラムにて kaorinstar 様の報告。 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=4024&forum=9

File:
1 edited

Legend:

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

    r16741 r18035  
    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.