aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/topicposts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/topicposts.php')
-rw-r--r--mod/groups/topicposts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php
index f9dd3344b..d0137e2f5 100644
--- a/mod/groups/topicposts.php
+++ b/mod/groups/topicposts.php
@@ -10,10 +10,10 @@
// Load Elgg engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-elgg_load_library('elgg:topic');
+elgg_load_library('elgg:discussion');
$guid = get_input('topic');
register_error(elgg_echo('changebookmark'));
-topic_handle_view_page($guid);
+forward("/discussion/view/$guid");