]> granicus.if.org Git - pgbadger/commitdiff
Fix invalid DOM, <tr> in <div>
authorPierre GIRAUD <pierre.giraud@dalibo.com>
Wed, 17 Apr 2019 06:42:27 +0000 (08:42 +0200)
committerPierre GIRAUD <pierre.giraud@dalibo.com>
Wed, 17 Apr 2019 06:50:29 +0000 (08:50 +0200)
pgbadger

index 787575a55ab3381f75c0ae26a4d98a58d21d1b07..145e02e8cb04ddc969c35835a6df6bd56e2058c0 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -7131,7 +7131,7 @@ sub print_histogram_session_times
                $drawn_graphs{histogram_session_times_graph} = &jqplot_duration_histograph($graphid++, 'graph_histogram_session_times', 'Sessions', \@histogram_session_time, %data);
        } else {
                $histogram_info = qq{<tr><td colspan="3">$NODATA</td></tr>};
-               $drawn_graphs{histogram_session_times_graph} = qq{<tr><td colspan="3">$NODATA</td></tr>};
+               $drawn_graphs{histogram_session_times_graph} = qq{$NODATA};
        }
 
 
@@ -7207,7 +7207,7 @@ sub print_histogram_pgb_session_times
                $drawn_graphs{pgb_histogram_session_times_graph} = &jqplot_duration_histograph($graphid++, 'graph_pgb_histogram_session_times', 'Sessions', \@histogram_session_time, %data);
        } else {
                $histogram_info = qq{<tr><td colspan="3">$NODATA</td></tr>};
-               $drawn_graphs{pgb_histogram_session_times_graph} = qq{<tr><td colspan="3">$NODATA</td></tr>};
+               $drawn_graphs{pgb_histogram_session_times_graph} = qq{$NODATA};
        }
 
        $most_range_value = &comma_numbers($most_range_value) if ($most_range_value);