aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r--engine/lib/plugins.php6
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;