aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php2
-rw-r--r--mod/groups/views/default/groups/forum_latest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 64a44bf21..fd2eecdf9 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -215,7 +215,7 @@
}
}
- if($page_owner->forum_enable == "yes"){
+ if($page_owner->forum_enable != "no"){
add_submenu_item(elgg_echo('groups:forum'),$CONFIG->wwwroot . "pg/groups/forum/{$page_owner->getGUID()}/", '1groupslinks');
}
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 797d9b19d..75c3f18e5 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -3,7 +3,7 @@
// Latest forum discussion for the group home page
//check to make sure this group forum has been activated
- if($vars['entity']->forum_enable == 'yes'){
+ if($vars['entity']->forum_enable != 'no'){
?>