aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-19 20:47:54 +0000
committernikrou <nikrou@piwigo.org>2010-03-19 20:47:54 +0000
commit7c6d4d7a0e4fbefa5895190a082397c350beddc3 (patch)
treecf3eb342f61d8963d294c16df24812fbd9a8a03f /admin/cat_list.php
parent4c461f36b167641fd7e0182d8c2a88f578c14e58 (diff)
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
Diffstat (limited to 'admin/cat_list.php')
-rw-r--r--admin/cat_list.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 57abe3f85..7168b3fd0 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -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']))