summaryrefslogtreecommitdiff
path: root/includes/module.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/module.inc')
-rw-r--r--includes/module.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 44aba1874..36105b4f8 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -110,6 +110,9 @@ function module_rebuild_cache() {
continue;
}
$files[$filename]->info = $file->info;
+ if (!isset($files[$filename]->info['version'])) {
+ $files[$filename]->info['version'] = NULL;
+ }
// log the critical hooks implemented by this module
$bootstrap = 0;