? d6-xmlcontent-r1.10-module-detection.patch
Index: xmlcontent.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/xmlcontent/xmlcontent.module,v
retrieving revision 1.10
diff -u -p -r1.10 xmlcontent.module
--- xmlcontent.module	29 Mar 2009 02:20:25 -0000	1.10
+++ xmlcontent.module	11 Sep 2009 16:30:07 -0000
@@ -72,7 +72,7 @@ function xmlcontent_nodeapi(&$node, $op,
       }
       // Does the input format of this node use XML Content filter?
       $format = filter_resolve_format($node->format);
-      $module = db_result(db_query('SELECT module FROM {filters} WHERE format = %d', $format));
+      $module = db_result(db_query('SELECT module FROM {filters} WHERE format = %d  AND module = "xmlcontent"', $format));
       if ($module != 'xmlcontent') {
         return;
       }
