Index: flashfield.render.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/flashfield/flashfield.render.inc,v
retrieving revision 1.5
diff -u -p -r1.5 flashfield.render.inc
--- flashfield.render.inc	25 Oct 2008 21:04:41 -0000	1.5
+++ flashfield.render.inc	18 Jan 2009 08:53:44 -0000
@@ -32,6 +32,11 @@ function theme_flashfield_markup($flashn
 
   // If using public download then encoding spaces that the upload module may have allowed
   $file = $flashnode['filepath'];
+  
+  if (!is_file($file['filepath'])) {
+    return '<!-- file not found: '. $file['filepath'] .' -->';
+  }
+  
   if (variable_get('file_downloads', FILE_DOWNLOADS_PUBLIC) == FILE_DOWNLOADS_PUBLIC) {
     $file = str_replace(' ', '%20', $file);
   }
