[rt-users] Re: Can you help with this minor hack?

Dave Ewart Dave.Ewart at cancer.org.uk
Fri Feb 22 04:52:45 EST 2002


On Thursday, 21.02.2002 at 21:05 +0100, Bruce Campbell wrote:

> On Thu, 21 Feb 2002, Dave Ewart wrote:
> 
> > <%$Ticket->Requestors->EmailsAsString%>
> 
> At a rough guess, try:
> 
> % my $requestors = $Ticket->Requestors;
> % while( my $this_requestor = $requestors->Next ){
> %     if( defined( $this_requestor->OwnerObj ) ){
> 	<% $this_requestor->OwnerObj->RealName %>
> %     }
> % }
> 
> Of course, <% $Ticket->Requestors->First->OwnerObj->RealName %> might not
> work either.  I need caffiene to get to sleep.

That does the trick, Bruce, many thanks.  And thanks for the schema
elsewhere is this thread - that might help my understanding of the
source a little!

Cheers,

Dave.
-- 
Dave Ewart
Dave.Ewart at cancer.org.uk
Computing Manager, Epidemiology Unit, Oxford
Cancer Research UK
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370





More information about the rt-users mailing list