--- file_import/file_import.module.orig	2009-04-15 15:26:08.000000000 +1200
+++ file_import/file_import.module	2009-04-15 15:26:11.000000000 +1200
@@ -162,9 +162,9 @@
     $only_with_uploads = variable_get("only_with_uploads",TRUE);
     $allowed_types = array();
     foreach ($types as $type){
-        if ((!$only_with_uploads)||(variable_get("upload_$type->type", $only_with_upload))) {
-            $allowed_types[] = "'".$type->type."'";
-        }
+      if ((!$only_with_uploads)||!(variable_get("upload_$type->type", $only_with_upload)==0)) {
+          $allowed_types[] = "'".$type->type."'";
+      }
     }
     if ($allowed_types)
     {
