Changeset 18463 for trunk/include


Ignore:
Timestamp:
Oct 4, 2012, 6:03:25 PM (12 years ago)
Author:
mistic100
Message:

feature 2761: Pass all kind of messages through session on admin

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r17649 r18463  
    6565  'infos' => array(),
    6666  'errors' => array(),
     67  'warnings' => array(),
    6768  );
    6869$user = array();
  • trunk/include/page_messages.php

    r15578 r18463  
    2525if ($template->get_template_vars('page_refresh') === null)
    2626{
    27   foreach (array('errors','infos') as $mode)
     27  foreach (array('errors','infos','warnings') as $mode)
    2828  {
    2929    if (isset($_SESSION['page_'.$mode]))
Note: See TracChangeset for help on using the changeset viewer.