aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 15:14:08 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-20 15:14:08 +0000
commitaf3443b176e7be7d18ea7f724f5b8c88ab7b73cf (patch)
treedb185cbea995c86c62f29d9f028972f1b57dd1dc /mod/groups
parent219a96bc529a4d77aa0ea661904cc46a7a961883 (diff)
downloadelgg-af3443b176e7be7d18ea7f724f5b8c88ab7b73cf.tar.gz
elgg-af3443b176e7be7d18ea7f724f5b8c88ab7b73cf.tar.bz2
No need to trigger the init event on upgrade.
git-svn-id: https://code.elgg.org/elgg/trunk@2478 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/topicposts.php1
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));