aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/activate.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/activate.php')
-rw-r--r--actions/admin/plugins/activate.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/actions/admin/plugins/activate.php b/actions/admin/plugins/activate.php
index 822d09f43..5196467b2 100644
--- a/actions/admin/plugins/activate.php
+++ b/actions/admin/plugins/activate.php
@@ -37,4 +37,8 @@ foreach ($plugin_guids as $guid) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward(REFERER); \ No newline at end of file
+if (count($plugin_guids) == 1) {
+ forward("pg/admin/plugins/advanced#elgg-plugin-" . $plugin_guids[0]);
+} else {
+ forward(REFERER);
+} \ No newline at end of file