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

git-svn-id: http://piwigo.org/svn/trunk@18463 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2012-10-04 16:03:25 +00:00
parent b1cec7bf86
commit b3e71e424c
3 changed files with 4 additions and 30 deletions
+1
View File
@@ -64,6 +64,7 @@ $conf = array();
$page = array(
'infos' => array(),
'errors' => array(),
'warnings' => array(),
);
$user = array();
$lang = array();
+1 -1
View File
@@ -24,7 +24,7 @@
// messages only if no redirection
if ($template->get_template_vars('page_refresh') === null)
{
foreach (array('errors','infos') as $mode)
foreach (array('errors','infos','warnings') as $mode)
{
if (isset($_SESSION['page_'.$mode]))
{