aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/page/elements/messages.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php
index 91221e174..a35a48586 100644
--- a/views/default/page/elements/messages.php
+++ b/views/default/page/elements/messages.php
@@ -11,6 +11,9 @@
echo '<ul class="elgg-system-messages">';
+// hidden li so we validate
+echo '<li class="hidden"></li>';
+
if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object']) > 0) {
foreach ($vars['object'] as $type => $list ) {
foreach ($list as $message) {