aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorkevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-02 18:10:26 +0000
committerkevinjardine <kevinjardine@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-02 18:10:26 +0000
commit34516b2c1128d9eff00310a49fd02116159b94e6 (patch)
treed85a7bea2f72e788d15f809531bf732af53179d5 /mod
parent9af94e826545d11e49d264d03015369a679fe74b (diff)
downloadelgg-34516b2c1128d9eff00310a49fd02116159b94e6.tar.gz
elgg-34516b2c1128d9eff00310a49fd02116159b94e6.tar.bz2
Changed group forums to default to enabled.
git-svn-id: https://code.elgg.org/elgg/trunk@3020 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-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'){
?>