diff options
Diffstat (limited to 'views/default/page')
-rw-r--r-- | views/default/page/admin.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/page/admin.php b/views/default/page/admin.php index b3871fe33..d0e7915cc 100644 --- a/views/default/page/admin.php +++ b/views/default/page/admin.php @@ -16,7 +16,8 @@ header("Content-type: text/html; charset=UTF-8"); $messages = $vars['sysmessages']; $notices_html = ''; -if ($notices = elgg_get_admin_notices()) { +$notices = elgg_get_admin_notices(); +if ($notices) { foreach ($notices as $notice) { $notices_html .= elgg_view_entity($notice); } |