[Rt-devel] bug / docu error in lib/RT/Transaction_Overlay.pm

Ruslan Zakirov ruz at bestpractical.com
Fri Aug 22 08:20:15 EDT 2008


thanks for pointing, want to provide a patch? :)

On Fri, Aug 22, 2008 at 1:34 PM, Otmar Lendl <ol at bofh.priv.at> wrote:
>
> Minor, but anyway:
>
> The POD says:
>
> =head2 Content PARAMHASH
>
> If this transaction has attached mime objects, returns the body of the
> first textual part (as defined in RT::I18N::IsTextualContentType).
> Otherwise, returns undef.
>
> but the code does:
>
>    # If all else fails, return a message that we couldn't find any
>    # content
>    else {
>        $content = $self->loc('This transaction appears to have no content');
>    }
>
> and thus never returns undef.
>
> /ol
> --
> -=-  Otmar Lendl  --  ol at bofh.priv.at  -=-
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list