Changeset 8168 for trunk/admin.php


Ignore:
Timestamp:
Dec 17, 2010, 1:11:56 AM (13 years ago)
Author:
plg
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r6365 r8168  
    9090$page['errors'] = array();
    9191$page['infos']  = array();
     92
     93if (isset($_SESSION['page_infos']))
     94{
     95  $page['infos'] = array_merge($page['infos'], $_SESSION['page_infos']);
     96  unset($_SESSION['page_infos']);
     97}
    9298
    9399$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
Note: See TracChangeset for help on using the changeset viewer.