aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 11:40:38 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 11:40:38 +0000
commit2e54eedc16240ddab2efec91e38de73f97e59710 (patch)
tree0fe82c618ad03297f8c9c92366a7e3139b12b4dd /views
parentae0d8fe986218116baba7fe0e20b26789bbe5e24 (diff)
downloadelgg-2e54eedc16240ddab2efec91e38de73f97e59710.tar.gz
elgg-2e54eedc16240ddab2efec91e38de73f97e59710.tar.bz2
Messages and actions: fixed!
git-svn-id: https://code.elgg.org/elgg/trunk@130 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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']; ?>