Transaction template has bad subject

In RT 2.0.11, the default Transaction template subject ends up looking like
this in email:

I believe the line

{$Transaction->Subject || {$Ticket->Subject} || "(No subject given)"

should be

{$Transaction->Subject || $Ticket->Subject || "(No subject given)"	

The attached patch fixes this.

It also cleans up the AutoReply template to remove tabs from the email and
replace them with 8 spaces. I also lines up the indented lines to make the
response message look a little cleaner. Finally, it changes some spaces to
tabs to be consistent with other Perl code.

Best,
Blair

Blair Zajac blair@orcaware.com
Web and OS performance plots - Orca Home Page - OrcaWare Technologies

OK, here is is with the patch.

Blair Zajac wrote:

In RT 2.0.11, the default Transaction template subject ends up looking like
this in email:

 Subject: HASH(0x8e7c758)

I believe the line

    {$Transaction->Subject || {$Ticket->Subject} || "(No subject given)"

should be

    {$Transaction->Subject || $Ticket->Subject || "(No subject given)"

The attached patch fixes this.

It also cleans up the AutoReply template to remove tabs from the email and
replace them with 8 spaces. I also lines up the indented lines to make the
response message look a little cleaner. Finally, it changes some spaces to
tabs to be consistent with other Perl code.

Best,
Blair


Blair Zajac blair@orcaware.com
Web and OS performance plots - Orca Home Page - OrcaWare Technologies

Blair Zajac blair@orcaware.com
Web and OS performance plots - Orca Home Page - OrcaWare Technologies

rt-insert-data-patch.txt (1.66 KB)