summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-11 17:58:18 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-11 17:58:18 +0000
commitc7095deb64f6a63c1663bf10dc377eff972c8887 (patch)
tree552afd8cf834a066d8fa04bd03d7531420f0b2ee /includes/module.inc
parent1de1293df0077fb2e17248e826607ab0004e9851 (diff)
downloadbrdo-c7095deb64f6a63c1663bf10dc377eff972c8887.tar.gz
brdo-c7095deb64f6a63c1663bf10dc377eff972c8887.tar.bz2
#423664 by Berdir: Fix dependency checking of non-existing modules. (with corrected tests)
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 71db71f57..dbe51279b 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -170,7 +170,7 @@ function _module_build_dependencies($files) {
}
drupal_depth_first_search($graph, array_keys($roots));
foreach ($graph as $module => $data) {
- $files[$module]->required_by= isset($data['reverse_paths']) ? $data['reverse_paths'] : array();
+ $files[$module]->required_by = isset($data['reverse_paths']) ? $data['reverse_paths'] : array();
$files[$module]->requires = isset($data['paths']) ? $data['paths'] : array();
$files[$module]->sort = $data['weight'];
}