aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/actions/edit.php4
-rw-r--r--mod/groups/views/default/forms/groups/edit.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index be8d250da..86c145f49 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -10,7 +10,9 @@
*/
// Load configuration
- global $CONFIG;
+ global $CONFIG;
+
+ action_gatekeeper();
// Get group fields
$input = array();
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index 87d79aaf4..339f351cf 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -11,8 +11,10 @@
?>
<div class="contentWrapper">
-<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post">
+<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post">
+ <?php echo elgg_view('input/securitytoken'); ?>
+
<p>
<label><?php echo elgg_echo("groups:icon"); ?><br />
<?php