import rt 3.6.6
[freeside.git] / rt / lib / RT / EmailParser.pm
index 824b327..39c6105 100644 (file)
@@ -615,7 +615,7 @@ sub _SetupMIMEParser {
     # Turns out that the default is to recycle tempfiles
     # Temp files should never be recycled, especially when running under perl taint checking
     
-    $parser->tmp_recycling(0);
+    $parser->tmp_recycling(0) if $parser->can('tmp_recycling');
 
 }