import rt 3.8.10
[freeside.git] / rt / t / ticket / scrips_batch.t
index f558d3b..f13881b 100644 (file)
@@ -45,7 +45,7 @@ my $sid;
     my ($tmp_fh, $tmp_fn) = tempfile();
 
     my $code = <<END;
-open my \$fh, '>', '$tmp_fn' or die "Couldn't open '$tmp_fn':\$!";
+open( my \$fh, '>', '$tmp_fn' ) or die "Couldn't open '$tmp_fn':\$!";
 
 my \$batch = \$self->TicketObj->TransactionBatch;
 unless ( \$batch && \@\$batch ) {