UseActorAsSender

I have followed the direction from this link:
http://wiki.bestpractical.com/index.cgi?UseActorAsSender and added the
following code on top in my correspondence template
From: {
my $u = $Transaction->CreatorObj;
my $a = $Ticket->QueueObj->CorrespondAddress;
$a = $Ticket->QueueObj->CommentAddress if ( $Transaction->Type eq
’Comment’ );
my $res = $u->RealName || $u->Name;
$res .= " <".$a .">" ;
$res; }
, but whenever I reply to a ticket the “From” line is blank on the
recipient email. What could be wrong? Isn’t it supposed to show the name
of the user replying to the ticket from RT?