aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/messages/list.php2
-rw-r--r--views/default/messages/messages/list.php1
-rw-r--r--views/default/pageshell.php2
3 files changed, 3 insertions, 2 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));
diff --git a/views/default/pageshell.php b/views/default/pageshell.php
index 06d427cb6..64e65df1a 100644
--- a/views/default/pageshell.php
+++ b/views/default/pageshell.php
@@ -37,7 +37,7 @@
<h1><?php echo $title; ?></h1>
<?php
- echo elgg_view('messages/list', array('object' => $vars['messages']));
+ echo elgg_view('messages/list', array('object' => $vars['sysmessages']));
?>
<?php echo $vars['body']; ?>