Changeset 1589
- Timestamp:
- 11/05/09 14:08:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.soholiday.inc.php
r2 r1589 128 128 if($query) 129 129 { 130 $querymethod = " ANDname LIKE ".$this->db->quote('%'.$query.'%');130 $querymethod = " name LIKE ".$this->db->quote('%'.$query.'%'); 131 131 } 132 132 if ($year > 1900) … … 135 135 } 136 136 $querymethod .= ' ORDER BY '.(preg_match('/[a-zA-Z0-9_,]+/',$order) ? $order : 'month_num,mday'); 137 138 137 return "SELECT * FROM $this->table WHERE ".$querymethod; 139 138 }
Note: See TracChangeset
for help on using the changeset viewer.