diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/topicposts.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php index 6a732ca52..d16b33148 100644 --- a/mod/groups/topicposts.php +++ b/mod/groups/topicposts.php @@ -19,6 +19,7 @@ // get the entity from id
$topic = get_entity(get_input('topic'));
+ if (!$topic) forward();
// Display them
$area2 = elgg_view("forum/viewposts", array('entity' => $topic));
|