diff options
author | plegall <plg@piwigo.org> | 2010-12-17 00:11:56 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-12-17 00:11:56 +0000 |
commit | cfd6851c109965e9dab9333f8f41ecf65e64decf (patch) | |
tree | 48c9282c692bd88e459b519954bd52fd376037cd /admin.php | |
parent | d5549a0bff5e6bf02ad2314b77e611e9d12303dd (diff) |
merge r8167 from branch 2.1 to trunk
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/trunk@8168 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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&section='; //----------------------------------------------------- template initialization |