# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: contributions/modules/swftools/swftools.module
--- contributions/modules/swftools/swftools.module Base (1.20.2.20)
+++ contributions/modules/swftools/swftools.module Locally Modified (Based On 1.20.2.20)
@@ -640,6 +640,11 @@
  */
 function swftools_get_action($file) {
 
+  // If query string, get it's position
+  if (($q = strpos($file, '?')) !== FALSE) {
+    $file = substr($file, 0, $q);
+  }
+
   // Get the path information for this file
   $path_parts = pathinfo($file);
   
