aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/groups/views/default/forms/groups/edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index 267e9bb5b..66d2419df 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -64,7 +64,7 @@
echo elgg_view("input/radio",array(
"internalname" => "pages_enable",
- "value" => $vars['entity']->pages_enable,
+ "value" => $vars['entity']->pages_enable ? $vars['entity']->pages_enable : 'yes',
'options' => array(
elgg_echo('groups:yes') => 'yes',
elgg_echo('groups:no') => 'no',
@@ -80,7 +80,7 @@
echo elgg_view("input/radio",array(
"internalname" => "forum_enable",
- "value" => $vars['entity']->forum_enable,
+ "value" => $vars['entity']->forum_enable ? $vars['entity']->forum_enable : 'yes',
'options' => array(
elgg_echo('groups:yes') => 'yes',
elgg_echo('groups:no') => 'no',
@@ -96,7 +96,7 @@
echo elgg_view("input/radio",array(
"internalname" => "files_enable",
- "value" => $vars['entity']->files_enable,
+ "value" => $vars['entity']->files_enable ? $vars['entity']->files_enable : 'yes',
'options' => array(
elgg_echo('groups:yes') => 'yes',
elgg_echo('groups:no') => 'no',