Changeset 1816
- Timestamp:
- Feb 14, 2007, 6:45:20 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_tag.inc.php
r1815 r1816 259 259 { 260 260 $query .= ' 261 ORDER BY counter DESC 261 262 LIMIT 0,'.$max_tags; 262 263 } -
trunk/include/ws_functions.inc.php
r1815 r1816 657 657 function ws_tags_getList($params, &$service) 658 658 { 659 global $user;660 659 $tags = get_available_tags(); 661 660 if ($params['sort_by_counter']) … … 688 687 { 689 688 @include_once(PHPWG_ROOT_PATH.'include/functions_picture.inc.php'); 690 global $ user, $conf;689 global $conf; 691 690 692 691 // first build all the tag_ids we are interested in … … 705 704 or 706 705 in_array($tag['url_name'], $params['tag_url_name']) 706 or 707 in_array($tag['id'], $params['tag_id']) 707 708 ) 708 709 { … … 711 712 } 712 713 unset($tags); 713 714 foreach( $params['tag_id'] as $tag_id )715 {716 if ( (int)$tag_id > 0 )717 {718 $tag_ids[] = $tag_id;719 }720 }721 714 722 715 $tag_ids = array_unique( $tag_ids ); -
trunk/qsearch.php
r1537 r1816 38 38 $query =' 39 39 INSERT INTO '.SEARCH_TABLE.' 40 (rules )40 (rules, last_seen) 41 41 VALUES 42 (\''.serialize($search).'\' )42 (\''.serialize($search).'\', NOW() ) 43 43 ;'; 44 44 pwg_query($query); -
trunk/search.php
r1727 r1816 135 135 $query =' 136 136 INSERT INTO '.SEARCH_TABLE.' 137 (rules )137 (rules, last_seen) 138 138 VALUES 139 (\''.serialize($search).'\' )139 (\''.serialize($search).'\', NOW()) 140 140 ;'; 141 141 pwg_query($query);
Note: See TracChangeset
for help on using the changeset viewer.