From af3443b176e7be7d18ea7f724f5b8c88ab7b73cf Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 20 Nov 2008 15:14:08 +0000 Subject: No need to trigger the init event on upgrade. git-svn-id: https://code.elgg.org/elgg/trunk@2478 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/topicposts.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/groups') 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)); -- cgit v1.2.3