On 9 Apr 2009, at 7:04 pm, Nick Kartsioukas wrote:

> On Wed, 08 Apr 2009 17:36:08 -0700, "Nick Kartsioukas"
> <[email protected]> said:
>> my $cf = RT::CustomField->new( $RT::SystemUser );
>> $cf->LoadByName( Name => 'createdbyemail' );
>> $self->TicketObj->AddCustomFieldValue( Field => $cf, Value =>  
>> 'yes' );
>> return 1;
>
> Got it.  Should be double-quotes instead of single-quotes for the  
> value
> to set, so:
> $self->TicketObj->AddCustomFieldValue( Field => $cf, Value => "yes" );

Single vs double quotes in that context shouldn't make any difference...

Tim


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
_______________________________________________
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 with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to