From 3560c0d610c89050e15d7b3869475a2e74b46baa Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 21 Apr 2018 10:35:36 -0400 Subject: [PATCH] fix displayed tbale header twice --- web/skins/classic/views/console.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/skins/classic/views/console.php b/web/skins/classic/views/console.php index 1db519a18..7565335bb 100644 --- a/web/skins/classic/views/console.php +++ b/web/skins/classic/views/console.php @@ -213,12 +213,10 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) { $monitor = $displayMonitors[$monitor_i]; $Monitor = new Monitor($monitor); - if ( $monitor_i % 100 == 0 ) { - if ( $monitor_i ) { - echo ''; - } + if ( $monitor_i and ( $monitor_i % 100 == 0 ) ) { + echo ''; echo $table_head; -} # monitor_i % 100 + } # monitor_i % 100 ?>