From bedc1d3e132be17e869b0ed7f2166b6f4a8c77e7 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 5 Jun 2017 16:29:04 -0400 Subject: [PATCH] fix spacing --- web/skins/classic/views/monitor.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 84710a404..6b3c692c5 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -36,15 +36,15 @@ if ( ZM_OPT_X10 ) $tabs["x10"] = translate('X10'); $tabs["misc"] = translate('Misc'); - if ( isset($_REQUEST['tab']) ) +if ( isset($_REQUEST['tab']) ) $tab = validHtmlStr($_REQUEST['tab']); - else +else $tab = "general"; - $Server = null; - if ( defined( 'ZM_SERVER_ID' ) ) { - $Server = dbFetchOne( 'SELECT * FROM Servers WHERE Id=?', NULL, array( ZM_SERVER_ID ) ); - } +$Server = null; +if ( defined( 'ZM_SERVER_ID' ) ) { + $Server = dbFetchOne( 'SELECT * FROM Servers WHERE Id=?', NULL, array( ZM_SERVER_ID ) ); +} if ( ! $Server ) { $Server = array( 'Id' => '' ); }