diff options
-rw-r--r-- | mod/groups/views/default/groups/forum_latest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php index 142920cc4..3c6ce6ccf 100644 --- a/mod/groups/views/default/groups/forum_latest.php +++ b/mod/groups/views/default/groups/forum_latest.php @@ -22,7 +22,8 @@ if($vars['entity']->forum_enable != 'no'){ echo "</div>"; } } else { - echo "<p class='margin_top'>".elgg_echo("grouptopic:notcreated")."</p>"; + $create_discussion = $vars['url'] . "mod/groups/addtopic.php?group_guid=" . page_owner(); + echo "<p class='margin_top'><a href=\"{$create_discussion}\">".elgg_echo("groups:addtopic")."</a></p>"; } }//end of forum active check |