Changeset 21800 for branches/2.5/include
- Timestamp:
- Mar 23, 2013, 10:33:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/include/ws_functions.inc.php
r20999 r21800 55 55 if ( is_numeric($params['f_min_rate']) ) 56 56 { 57 $clauses[] = $tbl_name.'rating_score> '.$params['f_min_rate'];57 $clauses[] = $tbl_name.'rating_score>='.$params['f_min_rate']; 58 58 } 59 59 if ( is_numeric($params['f_max_rate']) ) … … 63 63 if ( is_numeric($params['f_min_hit']) ) 64 64 { 65 $clauses[] = $tbl_name.'hit> '.$params['f_min_hit'];65 $clauses[] = $tbl_name.'hit>='.$params['f_min_hit']; 66 66 } 67 67 if ( is_numeric($params['f_max_hit']) ) … … 87 87 if ( is_numeric($params['f_min_ratio']) ) 88 88 { 89 $clauses[] = $tbl_name.'width/'.$tbl_name.'height> '.$params['f_min_ratio'];89 $clauses[] = $tbl_name.'width/'.$tbl_name.'height>='.$params['f_min_ratio']; 90 90 } 91 91 if ( is_numeric($params['f_max_ratio']) ) … … 1978 1978 { 1979 1979 $tag_ids = array(); 1980 if (is_array($params[ tags]))1981 { 1982 foreach ($params[ tags] as $tag_name)1980 if (is_array($params['tags'])) 1981 { 1982 foreach ($params['tags'] as $tag_name) 1983 1983 { 1984 1984 $tag_id = tag_id_from_tag_name($tag_name);
Note: See TracChangeset
for help on using the changeset viewer.