mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 01:32:59 +02:00
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:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user