aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/deactivate.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/deactivate.php')
-rw-r--r--actions/admin/plugins/deactivate.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/admin/plugins/deactivate.php b/actions/admin/plugins/deactivate.php
index 6c9a55c15..f5eca3aaa 100644
--- a/actions/admin/plugins/deactivate.php
+++ b/actions/admin/plugins/deactivate.php
@@ -43,7 +43,8 @@ if (count($plugin_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);
}