[Rt-commit] r16594 - in rt/3.8/trunk: .

elacour at bestpractical.com elacour at bestpractical.com
Wed Oct 29 04:44:11 EDT 2008


Author: elacour
Date: Wed Oct 29 04:44:06 2008
New Revision: 16594

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Ticket/Elements/ShowMessageHeaders

Log:
 r10964 at datura:  manu | 2008-10-29 09:42:41 +0100
 Don't output empty html table in Transactions content if there is no headers.


Modified: rt/3.8/trunk/share/html/Ticket/Elements/ShowMessageHeaders
==============================================================================
--- rt/3.8/trunk/share/html/Ticket/Elements/ShowMessageHeaders	(original)
+++ rt/3.8/trunk/share/html/Ticket/Elements/ShowMessageHeaders	Wed Oct 29 04:44:06 2008
@@ -45,6 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
+% if ( @headers ) {
 <table>
 % foreach my $header (@headers) {
   <tr>
@@ -53,6 +54,7 @@
   </tr>
 % }
 </table>
+% }
 <%INIT>
 my @headers;
 foreach my $field( RT->Config->Get('ShowBccHeader')? $Message->_SplitHeaders : $Message->SplitHeaders ) {


More information about the Rt-commit mailing list