[Rt-devel] BUG/PATCH? RT::CurrentUser::LoadByEmail() should use $self->UserObj

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Dec 15 17:38:42 EST 2005


I think RT::User->CanonicalizeEmailAddress($identifier); variant is better.

On 12/16/05, Jesse Vincent <jesse at bestpractical.com> wrote:
>
>
> > call $self->UserObj->CanonicalizeEmailAddress? Are there cases where a
> > valid RT::CurrentUser object won't have a valid RT::User object?
>
> Yes. When you first load it.
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>


--
Best regards, Ruslan.


More information about the Rt-devel mailing list