diff --git a/webtools/tinderbox2/src/lib/TinderDB/BT_Generic.pm b/webtools/tinderbox2/src/lib/TinderDB/BT_Generic.pm index 5503eb7d4e1..70106e13b62 100644 --- a/webtools/tinderbox2/src/lib/TinderDB/BT_Generic.pm +++ b/webtools/tinderbox2/src/lib/TinderDB/BT_Generic.pm @@ -69,7 +69,7 @@ use TreeData; use VCDisplay; -$VERSION = ( qw $Revision: 1.4 $ )[1]; +$VERSION = ( qw $Revision: 1.5 $ )[1]; @ISA = qw(TinderDB::BasicTxtDB); @@ -251,7 +251,6 @@ sub status_table_row { # display all the interesting fields - $table .= "Ticket updated at: ".localtime($time)."
\n"; foreach $field (@BTData::DISPLAY_FIELDS) { # we display all fields even the empty ones, so that users @@ -259,6 +258,9 @@ sub status_table_row { my ($value) = $rec->{$field}; + ($value) || + next; + # $max_length = main::max($max_length , length($value)); $num_rows++; $table .= ( @@ -268,7 +270,17 @@ sub status_table_row { $value. "
\n". ""); - } + } # foreach $field + + ($table) || + next; + + $table = ( + "Ticket updated at: ". + localtime($time). + "
\n". + $table. + ""); # fix the size so that long summaries do not cause our window # to get too large.