diff --git a/web/zm_actions.php b/web/zm_actions.php index debe20bcb..9c85ea4ac 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -287,7 +287,7 @@ if ( isset($action) ) } elseif ( $action == "settings" && isset( $mid ) ) { - $zmu_command = getZmuCommand( "-m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour" ); + $zmu_command = getZmuCommand( " -m $mid -B$new_brightness -C$new_contrast -H$new_hue -O$new_colour" ); $zmu_output = exec( escapeshellcmd( $zmu_command ) ); list( $brightness, $contrast, $hue, $colour ) = split( ' ', $zmu_output ); $sql = "update Monitors set Brightness = '$brightness', Contrast = '$contrast', Hue = '$hue', Colour = '$colour' where Id = '$mid'";