remove picture delete displayed twice

redirect after delete to avoid errors

git-svn-id: http://piwigo.org/svn/trunk@5193 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2010-03-19 20:47:54 +00:00
parent 4c461f36b1
commit 7c6d4d7a0e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -80,6 +80,7 @@ if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser())
delete_categories(array($_GET['delete']));
array_push($page['infos'], l10n('Virtual category deleted'));
update_global_rank();
redirect(get_root_url().'admin.php?page=cat_list');
}
// request to add a virtual category
else if (isset($_POST['submitAdd']))