diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-07 06:13:01 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-07 06:13:01 +0000 |
commit | 64162b74adce37d976508d5253a01da3acacf9f4 (patch) | |
tree | 97c775aa5a7cdd60ae93e8f87cd797fa4f5eab5c /includes | |
parent | aeaa07c9f25903925c215c950cc027228907d9f3 (diff) | |
download | brdo-64162b74adce37d976508d5253a01da3acacf9f4.tar.gz brdo-64162b74adce37d976508d5253a01da3acacf9f4.tar.bz2 |
#88843 by lyricnz. Properly check if dependencies are set.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/module.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc index 6bbeb2a41..21641eae8 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -143,7 +143,7 @@ function module_rebuild_cache() { */ function _module_build_dependents($files) { foreach ($files as $filename => $file) { - if (is_array($file->info['dependencies'])) { + if (isset($file->info['dependencies']) && is_array($file->info['dependencies'])) { foreach ($file->info['dependencies'] as $dependency) { if (!empty($files[$dependency]) && is_array($files[$dependency]->info)) { if (!isset($files[$dependency]->info['dependents'])) { |