Index: update.php
===================================================================
RCS file: /cvs/drupal/drupal/update.php,v
retrieving revision 1.263
diff -u -p -r1.263 update.php
--- update.php	12 Oct 2008 04:30:05 -0000	1.263
+++ update.php	12 Oct 2008 10:09:57 -0000
@@ -511,7 +511,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;