aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 19c1661ed..a3d212164 100644
--- a/admin.php
+++ b/admin.php
@@ -91,6 +91,7 @@ else
$page['errors'] = array();
$page['infos'] = array();
+$page['warnings'] = array();
if (isset($_SESSION['page_infos']))
{
@@ -176,6 +177,11 @@ if (count($page['infos']) != 0)
$template->assign('infos', $page['infos']);
}
+if (count($page['warnings']) != 0)
+{
+ $template->assign('warnings', $page['warnings']);
+}
+
// Add the Piwigo Official menu
$template->assign( 'pwgmenu', pwg_URL() );