Fixed missing space in zmu command parameters.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1271 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2005-02-01 23:04:37 +00:00
parent 79ade4ee4f
commit 06e5d33151
1 changed files with 1 additions and 1 deletions

View File

@ -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'";