Fixed missing space in zmu command parameters.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1271 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
79ade4ee4f
commit
06e5d33151
|
@ -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'";
|
||||
|
|
Loading…
Reference in New Issue