Index: update.php
===================================================================
RCS file: /cvs/drupal/drupal/update.php,v
retrieving revision 1.265
diff -u -p -r1.265 update.php
--- update.php	3 Nov 2008 05:55:55 -0000	1.265
+++ update.php	14 Nov 2008 16:18:38 -0000
@@ -512,7 +512,8 @@ function update_check_incompatibility($n
   if (!isset($file)
       || !isset($file->info['core'])
       || $file->info['core'] != DRUPAL_CORE_COMPATIBILITY
-      || version_compare(phpversion(), $file->info['php']) < 0) {
+      || version_compare(phpversion(), $file->info['php']) < 0
+      || ($type == 'module' && empty($file->info['files']))) {
     return TRUE;
   }
   return FALSE;
