- Timestamp:
- Jan 23, 2014, 2:05:19 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r26907 r26922 1427 1427 * @return int 1428 1428 */ 1429 function tag_id_from_tag_name($tag_name , $create=true)1429 function tag_id_from_tag_name($tag_name) 1430 1430 { 1431 1431 global $page; … … 1473 1473 ); 1474 1474 1475 $page['tag_id_from_tag_name_cache'][$tag_name] = pwg_db_insert_id(TAGS_TABLE); 1476 1475 1477 invalidate_user_cache_nb_tags(); 1476 1478 1477 $page['tag_id_from_tag_name_cache'][$tag_name] = pwg_db_insert_id(TAGS_TABLE);1478 1479 return $page['tag_id_from_tag_name_cache'][$tag_name]; 1479 1480 }
Note: See TracChangeset
for help on using the changeset viewer.