summaryrefslogtreecommitdiff
path: root/rt/t/ticket/scrips_batch.t
diff options
context:
space:
mode:
Diffstat (limited to 'rt/t/ticket/scrips_batch.t')
-rw-r--r--rt/t/ticket/scrips_batch.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/rt/t/ticket/scrips_batch.t b/rt/t/ticket/scrips_batch.t
index f558d3bd4..f13881b65 100644
--- a/rt/t/ticket/scrips_batch.t
+++ b/rt/t/ticket/scrips_batch.t
@@ -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 ) {