Made sure Control default view doesn't apply if no permissions.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2035 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
38146e9af0
commit
e4846f525c
|
@ -31,7 +31,7 @@ mysql_free_result( $result );
|
|||
|
||||
if ( !isset($control) )
|
||||
{
|
||||
$control = ($monitor['DefaultView'] == 'Control');
|
||||
$control = (canView( 'Control' ) && ($monitor['DefaultView'] == 'Control'));
|
||||
}
|
||||
|
||||
if ( !isset($scale) )
|
||||
|
|
Loading…
Reference in New Issue