diff options
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index c0c9591f3..fbc8c0777 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -132,11 +132,13 @@ if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0) ?> <p> <?php - if ($vars['entity']) { - ?><input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /><?php + if ($vars['entity']) + { + ?> + <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /> + <?php } ?> - <input type="hidden" name="user_guid" value="<?php echo page_owner_entity()->guid; ?>" /> <input type="submit" class="submit_button" value="<?php echo elgg_echo("save"); ?>" /> </p> |