diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-29 06:46:51 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-29 06:46:51 -0400 |
commit | 8ed11a8881f65339446fccae64864e0d57dfff51 (patch) | |
tree | 3a9dd599067c79649e814f6d89b9bb5cf5bb26a5 /actions/admin/plugins/activate.php | |
parent | 0924491d5aa61c47ba60506c6398b14a30e1cb27 (diff) | |
download | elgg-8ed11a8881f65339446fccae64864e0d57dfff51.tar.gz elgg-8ed11a8881f65339446fccae64864e0d57dfff51.tar.bz2 |
Fixes #3630 using the plugin id for the css id
Diffstat (limited to 'actions/admin/plugins/activate.php')
-rw-r--r-- | actions/admin/plugins/activate.php | 3 |
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 |