Changeset 1924 for temp/trunk/data/class


Ignore:
Timestamp:
2006/08/25 13:07:14 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_SelectSql.php

    r1923 r1924  
    7777        if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && ( $to_year == "" ) && ( $to_month == "" ) && ( $to_day == "" ) ) { 
    7878            $date1 = date("Y/m/d", mktime(0,0,0,$from_month,$from_day,$from_year)); 
    79             $this->setWhere( $column ." >= ?" ); 
     79            $this->setWhere( $column ." >= ?a" ); 
    8080            $return = array($date1); 
    8181        } 
     
    8484        if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) &&  
    8585            ( $to_year != "" ) && ( $to_month != "" ) && ( $to_day != "" ) ) { 
    86             $this->setWhere( $column ." >= ? ANDa ". $column . " < ?" ); 
     86            $this->setWhere( $column ." >= ? AND ". $column . " < ?" ); 
    8787            $return = array($date1, $date2); 
    8888        } 
Note: See TracChangeset for help on using the changeset viewer.