Hello,
We are running RT 3.4.5. I created one custom field and would like to add
the value that is chosen to the email that is generated. Any help would be
greatly appreciated. The custom field name is Locations
Thanks in advance,
gary
Hi Gene,
I saw this fly by and just couldn't help myself trying to optimise it:
On 27 Mar 2008, at 16:04, Gene LeDuc wrote:
sub get_custom {
my $target_name = $_[0];
my $val = $Ticket-FirstCustomFieldValue($target_name);
return $val if defined $val;
return undef;
}
On 27 Mar 2008, at 16:29, Huw Selley wrote:
Hi Gene,
I saw this fly by and just couldn't help myself trying to optimise it:
OK, I suck and actually sent the wrong opto, here is what I wanted to
say:
sub get_custom {
return $val if $Ticket-FirstCustomFieldValue($_[0]) or return
On 27 Mar 2008, at 16:41, Huw Selley wrote:
On 27 Mar 2008, at 16:29, Huw Selley wrote:
Hi Gene,
I saw this fly by and just couldn't help myself trying to optimise
it:
OK, I suck and actually sent the wrong opto, here is what I wanted to
say:
And for those that didn't spot the
Now I suck!
$Ticket-FirstCustomFieldValue($field_name);
Steve
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets
I cut my teeth on APL and used to spend hours shaving 7 or 8 bytes from the
size of 360 assembly language programs, so I do have an appreciation for
efficient and elegant coding solutions.
However... several decades later and who-knows-how-many brain cells fewer,
I've found that I spend less