[rt-devel] Changing ticket creation to current user
Robert Spier
rspier at pobox.com
Thu Dec 4 14:45:37 EST 2003
>
> to
> ... Default => $session{'CurrentUser'}||undef &>
>
> I searched the archives and didn't see anything down this road, but I
> can't be the first person that's wanted the owner to default to the
> logged in user. Anyone else changed this?
Try it... but I'm pretty sure you'll need:
$session{'CurrentUser'}->Id()
(judging by the code in Elements/SelectOwner
-R
More information about the Rt-devel
mailing list