From fb143a5701f15a8e9792c25ec7c0a030786896d6 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 17 Mar 2011 00:24:04 +0000 Subject: Fixes #2242. Can now delete admin notices manually. git-svn-id: http://code.elgg.org/elgg/trunk@8737 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page/admin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/default/page/admin.php') 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); } -- cgit v1.2.3