aboutsummaryrefslogtreecommitdiff
path: root/views/default/messages
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/messages')
-rw-r--r--views/default/messages/list.php2
-rw-r--r--views/default/messages/messages/list.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/views/default/messages/list.php b/views/default/messages/list.php
index bac2fab56..190739a15 100644
--- a/views/default/messages/list.php
+++ b/views/default/messages/list.php
@@ -21,5 +21,5 @@
}
}
-
+
?> \ No newline at end of file
diff --git a/views/default/messages/messages/list.php b/views/default/messages/messages/list.php
index a1422bddc..b06762843 100644
--- a/views/default/messages/messages/list.php
+++ b/views/default/messages/messages/list.php
@@ -20,6 +20,7 @@
<div class="messages-errors">
<?php
+
if (!empty($vars['object']) && is_array($vars['object'])) {
foreach($vars['object'] as $message) {
echo elgg_view('messages/messages/message',array('object' => $message));