X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FMisc.pm;h=5231350fa3507027b24559726c8526785060def1;hb=4e77f6927631e226e13da84082be66867b71330f;hp=d79f86e0c39367ae5660c13b48ab422c9b331694;hpb=f32fab28c5cea2b5619c9b1d5cc6e3fe7beef126;p=freeside.git diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm index d79f86e0c..5231350fa 100644 --- a/FS/FS/Misc.pm +++ b/FS/FS/Misc.pm @@ -799,7 +799,7 @@ sub csv_from_fixed { my $template = join('', map {$total += $_; "A$_"} @$lengths) if $lengths; my $dir = "%%%FREESIDE_CACHE%%%/cache.$FS::UID::datasrc"; - my $fh = new File::Temp( TEMPLATE => "CODE.csv.XXXXXXXX", + my $fh = new File::Temp( TEMPLATE => "FILE.csv.XXXXXXXX", DIR => $dir, UNLINK => 0, ) or return "can't open temp file: $!\n"