diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:05:45 +0000 |
commit | 9ce11d138f9868b872fe8206dbc3c2f44723605a (patch) | |
tree | 273a2aed762c62eea3ac329649b42326a2d91438 /engine/lib/plugins.php | |
parent | 76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff) | |
download | elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2 |
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index b8fd321a8..872984751 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -657,9 +657,9 @@ function elgg_check_plugins_provides($type, $name, $version = null, $comparison * @return array */ function elgg_get_plugin_dependency_strings($dep) { - $dep_system = elgg_get_array_value('type', $dep); - $info = elgg_get_array_value('dep', $dep); - $type = elgg_get_array_value('type', $info); + $dep_system = elgg_extract('type', $dep); + $info = elgg_extract('dep', $dep); + $type = elgg_extract('type', $info); if (!$dep_system || !$info || !$type) { return false; |