From 7c6d4d7a0e4fbefa5895190a082397c350beddc3 Mon Sep 17 00:00:00 2001 From: nikrou Date: Fri, 19 Mar 2010 20:47:54 +0000 Subject: 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 --- admin/cat_list.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/cat_list.php') 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'])) -- cgit v1.2.3