From efbc574255759e74aa39d82e6dead82e8f0b52ce Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 15 May 2010 21:13:53 -0400 Subject: [PATCH] rt/zephyr-scrip.pl: Display the correct ticket for merge notifications. Signed-off-by: Anders Kaseorg --- rt/zephyr-scrip.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rt/zephyr-scrip.pl b/rt/zephyr-scrip.pl index 5f84e5f..15f797b 100644 --- a/rt/zephyr-scrip.pl +++ b/rt/zephyr-scrip.pl @@ -45,9 +45,9 @@ local $SIG{__DIE__} = sub { send_notice "${instance_prefix}error", "Internal error in Zephyr scrip:\n$err"; }; -(my $id = $self->TicketObj->id) =~ s/@/@@/g; +(my $id = $self->TransactionObj->Ticket) =~ s/@/@@/g; (my $description = $self->TransactionObj->Description) =~ s/@/@@/g; -(my $subject = $self->TicketObj->Subject) =~ s/@/@@/g; +(my $subject = $self->TransactionObj->TicketObj->Subject) =~ s/@/@@/g; send_notice "$instance_prefix$id", $description, $subject; 1; -- 2.45.0