diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-16 09:07:55 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-16 09:07:55 +0000 |
commit | f57931837fb8594c0fff76d1fa184f5aacad68cb (patch) | |
tree | 0e040276b25064c0f802d72e85ae038d13098bc3 /views/default/messages/errors | |
parent | 3c243370e251e9b48d12e4d129834305e1acffdc (diff) | |
download | elgg-f57931837fb8594c0fff76d1fa184f5aacad68cb.tar.gz elgg-f57931837fb8594c0fff76d1fa184f5aacad68cb.tar.bz2 |
Fixing the message views
git-svn-id: https://code.elgg.org/elgg/trunk@472 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/messages/errors')
-rw-r--r-- | views/default/messages/errors/list.php | 13 |
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 |