diff --git a/web/ajax/modals/settings.php b/web/ajax/modals/settings.php index 59d19ddbb..d2e27a3b4 100644 --- a/web/ajax/modals/settings.php +++ b/web/ajax/modals/settings.php @@ -1,11 +1,11 @@ $_REQUEST['mid'])); $zmuCommand = getZmuCommand(' -m '.escapeshellarg($_REQUEST['mid']).' -B -C -H -O'); $zmuOutput = exec( $zmuCommand ); -if ( $zmuOutput ) { +if ($zmuOutput) { list($brightness, $contrast, $hue, $colour) = explode(' ', $zmuOutput); $monitor->Brightness($brightness); @@ -13,7 +13,6 @@ if ( $zmuOutput ) { $monitor->Hue($hue); $monitor->Colour($colour); } - ?>