fix coding standard violations

This commit is contained in:
Christian Zeitnitz
2021-03-27 18:39:42 +01:00
parent f583a3eeae
commit 34f46007bd
4 changed files with 70 additions and 49 deletions

View File

@@ -113,7 +113,7 @@ function DisplayDashboard(&$extraFooterScripts)
// ------------------------ INFOS ABOUT THE CLIENT---------------------------------------------------------------
$clientinfo=array("name"=>"none","type"=>-1,"connected"=>"n");
$raspi_client=$_SESSION['wifi_client_interface'];
load_client_config();
loadClientConfig();
$all_clients = getClients(false);
$clientinfo = array("name" => "none", "connected" => "n");
if ( ($idx = findCurrentClientIndex($all_clients)) >= 0) $clientinfo = $all_clients["device"][$idx];