aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enable.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/enable.php')
-rw-r--r--actions/admin/plugins/enable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 10c8ba7d0..28b0f9f33 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -24,6 +24,6 @@
else
system_message(sprintf(elgg_echo('admin:plugins:enable:no'), $plugin));
- header("Location: {$CONFIG->wwwroot}admin/plugins/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file