Prevented bogus check of unset variable.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1417 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
455963730e
commit
f063792893
|
@ -151,7 +151,7 @@ if ( isset($action) )
|
|||
}
|
||||
}
|
||||
}
|
||||
if ( canEdit( 'Monitors', $mid ) )
|
||||
if ( isset($mid) && canEdit( 'Monitors', $mid ) )
|
||||
{
|
||||
if ( $action == "function" && isset( $mid ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue