[rt-users] adding custom filed value to email

Stephen Turner sturner at MIT.EDU
Thu Mar 27 12:57:52 EDT 2008


At Thursday 3/27/2008 12:45 PM, Huw Selley wrote:


>And for those that didn't spot the deliberate mistake *cough* :
>
>    sub get_custom {
>      return $Ticket->FirstCustomFieldValue($_[0]) or return undef;
>    }
>
>I promise I will stop now!!
>
>Huw
>

Please don't Huw, this has been very entertaining ;)

How about just

return $Ticket->FirstCustomFieldValue($_[0]);

or even no subroutine - just use $Ticket->FirstCustomFieldValue($_[0])

Steve 




More information about the rt-users mailing list