Changeset 5691 for trunk/admin/include
- Timestamp:
- Apr 6, 2010, 10:04:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r5528 r5691 248 248 update_category($category_ids); 249 249 } 250 250 251 251 trigger_action('delete_elements', $ids); 252 252 } … … 921 921 $query = ' 922 922 UPDATE '.IMAGES_TABLE.' 923 SET path = '.pwg_db_concat(array( $fulldirs[$cat_id],'\'/\'','file')).'923 SET path = '.pwg_db_concat(array("'".$fulldirs[$cat_id]."/'",'file')).' 924 924 WHERE storage_category_id = '.$cat_id.' 925 925 ;'; … … 1293 1293 function add_tags($tags, $images) 1294 1294 { 1295 if (count($tags) == 0 or count($ tags) == 0)1295 if (count($tags) == 0 or count($images) == 0) 1296 1296 { 1297 1297 return; … … 1904 1904 } 1905 1905 } 1906 1906 1907 1907 switch ($menu_page) 1908 1908 { … … 1924 1924 case 'permalinks': 1925 1925 return 1; 1926 1926 1927 1927 case 'user_list': 1928 1928 case 'user_perm': … … 1937 1937 case 'plugin': 1938 1938 return 3; 1939 1939 1940 1940 case 'stats': 1941 1941 case 'history': … … 1972 1972 ); 1973 1973 } 1974 1974 1975 1975 return $taglist; 1976 1976 } … … 1984 1984 1985 1985 $tag_ids = array(); 1986 1986 1987 1987 foreach ($raw_tags as $raw_tag) 1988 1988 { … … 1995 1995 // we have to create a new tag 1996 1996 array_push( 1997 $tag_ids, 1997 $tag_ids, 1998 1998 tag_id_from_tag_name($raw_tag) 1999 1999 );
Note: See TracChangeset
for help on using the changeset viewer.