[rt-users] Showing tickets to nobody

Koos van den Hout koos at kzdoos.xs4all.nl
Wed Dec 3 05:53:51 EST 2003


Quoting Phil Homewood who wrote on Wed, Dec 03, 2003 at 09:31:19AM +1000:

> Hi, Koos!

Hi! We meet in the strangest places ;)

> Koos van den Hout wrote:
> > but, displaying a single ticket does not work
> > 
> > $Ticket=LoadTicket($id);
> 
> Try:
> 
> my $ticket = new RT::Ticket($user);
> $ticket->Load($id);

Thanks, that's the one.

> Also, you might like to consider that the wheel has already
> been invented, and lives at /SelfService/  :-)

I'm very new to RT, but I'll have a look at this wheel before I invent any
more stuff already done :)

                                                Koos

-- 
Koos van den Hout,           PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos at kzdoos.xs4all.nl        or DSS/1024 0xF0D7C263                        -?)
Fax +31-30-2817051              Visit the site about books with reviews    /\\
http://idefix.net/~koos/                http://www.virtualbookcase.com/   _\_V



More information about the rt-users mailing list