From 34516b2c1128d9eff00310a49fd02116159b94e6 Mon Sep 17 00:00:00 2001 From: kevinjardine Date: Mon, 2 Mar 2009 18:10:26 +0000 Subject: Changed group forums to default to enabled. git-svn-id: https://code.elgg.org/elgg/trunk@3020 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/start.php | 2 +- mod/groups/views/default/groups/forum_latest.php | 2 +- 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'){ ?> -- cgit v1.2.3