diff options
Diffstat (limited to 'views/default/messages/messages/list.php')
-rw-r--r-- | views/default/messages/messages/list.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/views/default/messages/messages/list.php b/views/default/messages/messages/list.php index b06762843..88d7f0ede 100644 --- a/views/default/messages/messages/list.php +++ b/views/default/messages/messages/list.php @@ -14,6 +14,8 @@ * @uses $vars['object'] An array of system messages
*/
+ if (!empty($vars['object']) && is_array($vars['object'])) {
+
?>
<div class="messages">
@@ -21,12 +23,17 @@ <?php
- if (!empty($vars['object']) && is_array($vars['object'])) {
+
foreach($vars['object'] as $message) {
echo elgg_view('messages/messages/message',array('object' => $message));
}
- }
?>
</div>
- </div>
\ No newline at end of file + </div>
+
+<?php
+
+ }
+
+?>
\ No newline at end of file |