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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/admin/plugins/activate.php b/actions/admin/plugins/activate.php
index feb986b27..5a945e8eb 100644
--- a/actions/admin/plugins/activate.php
+++ b/actions/admin/plugins/activate.php
@@ -44,7 +44,8 @@ if (count($activated_guids) === 1) {
if ($query) {
$url .= "?$query";
}
- forward($url . '#elgg-plugin-' . $plugin_guids[0]);
+ $plugin = get_entity($plugin_guids[0]);
+ forward("$url#{$plugin->getID()}");
} else {
forward(REFERER);
} \ No newline at end of file