Changeset 20741 for trunk/include/ws_functions.inc.php
- Timestamp:
- Feb 13, 2013, 7:12:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r19703 r20741 1978 1978 { 1979 1979 $tag_ids = array(); 1980 $tag_names = explode(',', $params['tags']);1980 $tag_names = preg_split('~(?<!\\\),~', $params['tags']); 1981 1981 foreach ($tag_names as $tag_name) 1982 1982 { 1983 $tag_id = tag_id_from_tag_name( $tag_name);1983 $tag_id = tag_id_from_tag_name(preg_replace('#\\\\*,#', ',', $tag_name)); 1984 1984 array_push($tag_ids, $tag_id); 1985 1985 }
Note: See TracChangeset
for help on using the changeset viewer.