aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-23 11:00:43 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-23 11:00:43 -0700
commit899c89f5a60764dc0af06443af8970de82756781 (patch)
tree94dedd98a961fd0bcf985a344c30bb01fb5bd021 /engine/lib/plugins.php
parent6ab68776c9ac5a44e7b3494a75ba09a522596be9 (diff)
downloadelgg-899c89f5a60764dc0af06443af8970de82756781.tar.gz
elgg-899c89f5a60764dc0af06443af8970de82756781.tar.bz2
Fixes #3991. Populating provided_by in elgg_get_plugins_provides().
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index 8e50ed178..86070a2aa 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -577,7 +577,7 @@ function elgg_get_plugins_provides($type = null, $name = null) {
foreach ($plugin_provides as $provided) {
$provides[$provided['type']][$provided['name']] = array(
'version' => $provided['version'],
- 'provided_by' => $plugin_id
+ 'provided_by' => $plugin->getID()
);
}
}