On Mon, Jan 21, 2008 at 02:38:01PM +0100, Ham MI-ID, Torsten Brumm wrote: > Hi RT Users, > Just a simple questions (hopefully). Inside a scrip i can get the CF > Value with: $Ticket->FirstCustomFieldValue('CFNAME'). If i need to the > the corresponding Description to this value, can i get this with: > $Ticket->FirstCustomFieldValue('CFNAME')->Description ?!? >
Should be: $Ticket->CustomFieldValues('CFNAME')->First->Description I think ... -- Emmanuel Lacour ------------------------------------ Easter-eggs 44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76 mailto:[EMAIL PROTECTED] - http://www.easter-eggs.com _______________________________________________ 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