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

Otmar Lendl ol at bofh.priv.at
Fri Aug 22 05:34:45 EDT 2008

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.

-=-  Otmar Lendl  --  ol at bofh.priv.at  -=-

More information about the Rt-devel mailing list