Quoting Mathew Snyder <[EMAIL PROTECTED]>:
Yeah, I commented it out and it ran find. I'm guessing though, that all the
errors that I'm getting:
[Sun Nov 19 08:59:35 2006] [err]: RT::User=HASH(0xaea2ed4) was
created without a
CurrentUser 1 (/usr/local/rt-3.6.1/lib/RT/Base.pm:92)
are from not running this as an authenticated user? There's a bunch of them
right before it spits out the results I'm looking for.
Mathew
my $users = new RT::Users(RT_System);
Mat,
Try
my $users = new RT::Users(RT::SystemUser);
_______________________________________________
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