mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-04 17:02:17 +02:00
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:
@@ -64,6 +64,7 @@ $conf = array();
|
||||
$page = array(
|
||||
'infos' => array(),
|
||||
'errors' => array(),
|
||||
'warnings' => array(),
|
||||
);
|
||||
$user = array();
|
||||
$lang = array();
|
||||
|
||||
@@ -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]))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user