aboutsummaryrefslogtreecommitdiff
path: root/actions/admin
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-05 21:01:32 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-05 21:01:32 -0400
commitc1c54806694e78dfac23938b24abe999cb77e61a (patch)
tree40ab703ad829604dd3b378bb1ecfeac7b9584be1 /actions/admin
parent2630a9e4df3908cd938e31084b61a9225dc054a1 (diff)
downloadelgg-c1c54806694e78dfac23938b24abe999cb77e61a.tar.gz
elgg-c1c54806694e78dfac23938b24abe999cb77e61a.tar.bz2
fixed issue with id variable from previous commit that updated plugin activate/deactivate actions
Diffstat (limited to 'actions/admin')
-rw-r--r--actions/admin/plugins/deactivate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/admin/plugins/deactivate.php b/actions/admin/plugins/deactivate.php
index 0a7ef9460..354f4717d 100644
--- a/actions/admin/plugins/deactivate.php
+++ b/actions/admin/plugins/deactivate.php
@@ -46,7 +46,7 @@ if (count($plugin_guids) == 1) {
$url .= "?$query";
}
$plugin = get_entity($plugin_guids[0]);
- $css_id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID());
+ $id = preg_replace('/[^a-z0-9-]/i', '-', $plugin->getID());
forward("$url#$id");
} else {
forward(REFERER);