Merge branch 'MDL-54643-master' of git://github.com/jleyva/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 May 2016 11:50:47 +0000 (13:50 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 May 2016 11:50:47 +0000 (13:50 +0200)
admin/tool/mobile/classes/api.php

index c4ff370..1dbe965 100644 (file)
@@ -62,7 +62,7 @@ class api {
                         'component' => $component,
                         'version' => $version,
                         'addon' => $addonname,
-                        'dependencies' => !empty($addon['dependencies']) ? $addoninfo['dependencies'] : array(),
+                        'dependencies' => !empty($addoninfo['dependencies']) ? $addoninfo['dependencies'] : array(),
                         'fileurl' => '',
                         'filehash' => '',
                         'filesize' => 0