[rt-devel] [PATCH] ShowTransaction patch

Jesse Vincent jesse at bestpractical.com
Fri Mar 1 01:41:41 EST 2002


Thanks. Applied. Sorry this sat for so long.
It'll be in the next 2.0.12 prerelease



On Wed, Jan 09, 2002 at 04:17:47PM -0800, Blair Zajac wrote:
> This patch fixes a small problem with printing a message.  It checks if the
> message is true, not if it has length, so a message containing 0 will not
> be printed.
> 
> Blair
> 
> -- 
> Blair Zajac <blair at orcaware.com>
> Web and OS performance plots - http://www.orcaware.com/orca/
> --- webrt/Ticket/Elements/ShowTransaction.0	Mon Dec 17 10:04:29 2001
> +++ webrt/Ticket/Elements/ShowTransaction	Wed Jan  9 14:52:06 2002
> @@ -14,9 +14,9 @@
>   $attachments->GotoFirstItem;
>   while (my $message=$attachments->Next) {
>       #we don't want to show any empty transactions, unless they have kids
> -     next unless ($message->Content || $message->Children->Count);
> +     next unless (length $message->Content || $message->Children->Count);
>       my ($headers, $content);
> -     
> +
>      </%PERL>
>  
>  


-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the Rt-devel mailing list