Corrected device references in controlDaemons.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@48 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2002-09-23 21:00:12 +00:00
parent 3d5ea88b06
commit 27cb6208fd
1 changed files with 4 additions and 4 deletions

View File

@ -1668,19 +1668,19 @@ function controlDaemons( $device )
if ( !$passive_count && !$active_count )
{
stopDaemon( "zmc", $monitor[Device] );
stopDaemon( "zmc", $device );
}
else
{
startDaemon( "zmc", $monitor[Device] );
startDaemon( "zmc", $device );
}
if ( !$active_count )
{
stopDaemon( "zma", $monitor[Device] );
stopDaemon( "zma", $device );
}
else
{
startDaemon( "zma", $monitor[Device] );
startDaemon( "zma", $device );
}
}
function getEnumValues( $table, $column )