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

Otmar Lendl ol at bofh.priv.at
Fri Aug 22 09:21:39 EDT 2008

On 2008/08/22 14:08, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> thanks for pointing, want to provide a patch? :)

As I have no idea what code actually depends on $t->Content never to
return undef, I'd go for channging the documentation. e.g.

  If this transaction has attached mime objects, returns the body of the
  first textual part (as defined in RT::I18N::IsTextualContentType).
- Otherwise, returns undef.
+ Otherwise, return a string stating that there is no content associated
+ with this transaction.

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

More information about the Rt-devel mailing list