diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-27 17:00:23 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-27 17:00:23 +0000 |
commit | d33b1210925eb4077b582e0c17875103c09772c2 (patch) | |
tree | 3af0f44a1f4434f18162c8a3d478613fa60ef291 /mod/groups/views/default/forum/topics.php | |
parent | c3fc445ccbc590ec930fe56e5756b88bddb13259 (diff) | |
download | elgg-d33b1210925eb4077b582e0c17875103c09772c2.tar.gz elgg-d33b1210925eb4077b582e0c17875103c09772c2.tar.bz2 |
Removing WSOD errors in groups
git-svn-id: https://code.elgg.org/elgg/trunk@2317 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forum/topics.php')
-rw-r--r-- | mod/groups/views/default/forum/topics.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php index b574aea7c..18a8e4d0a 100644 --- a/mod/groups/views/default/forum/topics.php +++ b/mod/groups/views/default/forum/topics.php @@ -98,7 +98,8 @@ <p>
<?php
//display the last user to post
- echo get_user($last_user)->name;
+ if ($u = get_user($last_user))
+ echo $u->name;
?>
</p>
</td>
|