[299402] Extract properties files from Eclipse project update sites for translation
diff --git a/html/process_update_sites.php b/html/process_update_sites.php
index 1ee2f76..21a4265 100644
--- a/html/process_update_sites.php
+++ b/html/process_update_sites.php
@@ -134,7 +134,7 @@
     }
 
     if (!$match) {
-      if ($files[$file_id] != null) {
+      if ($file_id > 0 && $files[$file_id] != null) {
         # Existing file
         $file = $files[$file_id];
         $file->is_active = 1;