Changeset 17432 for extensions/gvideo
- Timestamp:
- Aug 6, 2012, 2:55:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gvideo/admin/add.php
r17383 r17432 74 74 ); 75 75 76 $query = ' 77 SELECT id, name, permalink 78 FROM '.CATEGORIES_TABLE.' 79 WHERE id = '.$_POST['category'].' 80 ;'; 81 $category = pwg_db_fetch_assoc(pwg_query($query)); 82 76 83 array_push($page['infos'], sprintf( 77 84 l10n('Video successfully added. <a href="%s">View</a>'), … … 79 86 'image_id' => $image_id, 80 87 'category' => array( 81 'id' => $ _POST['category'],82 'name' => '',83 'permalink' => '',88 'id' => $category['id'], 89 'name' => $category['name'], 90 'permalink' => $category['permalink'], 84 91 ), 85 92 ))
Note: See TracChangeset
for help on using the changeset viewer.