Changeset 1816 for trunk/include/ws_functions.inc.php
- Timestamp:
- Feb 14, 2007, 6:45:20 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 );
Note: See TracChangeset
for help on using the changeset viewer.