? .DS_Store
? ctools_contexts_03.patch
? grid_display_00.patch
? import_predefined_permission_00.patch
? layer_filter_api_00.patch
? layer_filter_api_01.patch
? layer_filters_04.patch
? includes/.DS_Store
Index: index.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/index/Attic/index.install,v
retrieving revision 1.1.2.16
diff -u -p -r1.1.2.16 index.install
--- index.install	1 Apr 2010 16:04:23 -0000	1.1.2.16
+++ index.install	5 Apr 2010 10:20:24 -0000
@@ -202,11 +202,12 @@ function index_import_predefined() {
   $dir = drupal_get_path('module', 'index') . '/indexes';
   $handle = opendir($dir);
   while (($file = readdir($handle)) !== FALSE) {
-    $contents = file_get_contents($dir . '/' . $file);
-    // Check if the imported file contains serialized data and if the
-  	// unserialized data is an index object.
-    if (($index = @unserialize($contents)) && $index instanceof index) {
-      $index->insert();
+    if ($contents = @file_get_contents($dir . '/' . $file)) {
+      // Check if the imported file contains serialized data and if the
+  	  // unserialized data is an index object.
+      if (($index = @unserialize($contents)) && $index instanceof index) {
+        $index->insert();
+      }
     }
   }
 }
\ No newline at end of file
