aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-12-17 00:09:34 +0000
committerplegall <plg@piwigo.org>2010-12-17 00:09:34 +0000
commitac1ae911bf34da3afbf4e092f7b1528bf3a91ac9 (patch)
tree83bbcb4598e3fb917412ee4d21319f3701d8fbf7 /admin.php
parent9f97e8fa00f08408c17a5e9c8054e33c8d134ad4 (diff)
bug 2031 fixed: redirection after category deletion preserves the current
node in the category tree. + the confirmation message is displayed after redirect, thanks to session git-svn-id: http://piwigo.org/svn/branches/2.1@8167 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 25eca3f6e..3b508fe4d 100644
--- a/admin.php
+++ b/admin.php
@@ -90,6 +90,12 @@ else
$page['errors'] = array();
$page['infos'] = array();
+if (isset($_SESSION['page_infos']))
+{
+ $page['infos'] = array_merge($page['infos'], $_SESSION['page_infos']);
+ unset($_SESSION['page_infos']);
+}
+
$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
$conf_link = $link_start.'configuration&amp;section=';
//----------------------------------------------------- template initialization