Changeset 1924 for temp/trunk/data/class
- Timestamp:
- 2006/08/25 13:07:14 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_SelectSql.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_SelectSql.php
r1923 r1924 77 77 if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && ( $to_year == "" ) && ( $to_month == "" ) && ( $to_day == "" ) ) { 78 78 $date1 = date("Y/m/d", mktime(0,0,0,$from_month,$from_day,$from_year)); 79 $this->setWhere( $column ." >= ? " );79 $this->setWhere( $column ." >= ?a" ); 80 80 $return = array($date1); 81 81 } … … 84 84 if( ( $from_year != "" ) && ( $from_month != "" ) && ( $from_day != "" ) && 85 85 ( $to_year != "" ) && ( $to_month != "" ) && ( $to_day != "" ) ) { 86 $this->setWhere( $column ." >= ? AND a". $column . " < ?" );86 $this->setWhere( $column ." >= ? AND ". $column . " < ?" ); 87 87 $return = array($date1, $date2); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.
