From fc85ccbf5f7c945b23caafbb72a065b998116601 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 11 Nov 2015 16:43:23 -0500 Subject: [PATCH] Set value for Hostname to avoid php warning. fix save button. Can't use it to pass action value because it gets translated. --- web/skins/classic/views/server.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/skins/classic/views/server.php b/web/skins/classic/views/server.php index 51863e7dc..fd22bf367 100644 --- a/web/skins/classic/views/server.php +++ b/web/skins/classic/views/server.php @@ -32,6 +32,7 @@ if ( $_REQUEST['id'] ) { } else { $newServer = array(); $newServer['Name'] = translate('NewServer'); + $newServer['Hostname'] = ''; } $focusWindow = true; @@ -61,8 +62,9 @@ xhtmlHeaders(__FILE__, translate('Server')." - ".$newServer['Name'] );
- - + + +