aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 23:57:10 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-01 23:57:10 +0000
commit2b8576e4b2b6b8e80c64f165d088be50d393748f (patch)
treeb1d0e9b62615fc88d91221a239e5ae12039b98ba /views/default
parentce3f2c77747298cc0b1d0d8ca904989b3e6cafaf (diff)
downloadelgg-2b8576e4b2b6b8e80c64f165d088be50d393748f.tar.gz
elgg-2b8576e4b2b6b8e80c64f165d088be50d393748f.tar.bz2
Fixes #3012 added hidden li
git-svn-id: http://code.elgg.org/elgg/trunk@8555 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-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) {