aboutsummaryrefslogtreecommitdiff
path: root/mod/ecml
diff options
context:
space:
mode:
Diffstat (limited to 'mod/ecml')
-rw-r--r--mod/ecml/actions/save_permissions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ecml/actions/save_permissions.php b/mod/ecml/actions/save_permissions.php
index 89b2179fa..f32544d86 100644
--- a/mod/ecml/actions/save_permissions.php
+++ b/mod/ecml/actions/save_permissions.php
@@ -34,4 +34,4 @@ if (set_plugin_setting('ecml_permissions', serialize($perms), 'ecml')) {
register_error(elgg_echo('ecml:admin:cannot_save_permissions'));
}
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);