aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages/errors/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/messages/errors/list.php')
-rw-r--r--views/default/messages/errors/list.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/views/default/messages/errors/list.php b/views/default/messages/errors/list.php
index 9644b7f5a..999912a85 100644
--- a/views/default/messages/errors/list.php
+++ b/views/default/messages/errors/list.php
@@ -14,18 +14,23 @@
* @uses $vars['object'] An array of error messages
*/
+ if (!empty($vars['object']) && is_array($vars['object'])) {
+
?>
<div class="messages">
<div class="messages-errors">
<?php
- if (!empty($vars['object']) && is_array($vars['object'])) {
foreach($vars['object'] as $error) {
echo elgg_view('messages/errors/error',array('object' => $error));
}
- }
-
?>
</div>
- </div> \ No newline at end of file
+ </div>
+<?php
+ }
+
+
+
+?> \ No newline at end of file