diff --git a/web/zm_actions.php b/web/zm_actions.php index a43d8f7d7..c788cf5c6 100644 --- a/web/zm_actions.php +++ b/web/zm_actions.php @@ -151,7 +151,7 @@ if ( isset($action) ) } } } - if ( isset($mid) && canEdit( 'Monitors', $mid ) ) + if ( canEdit( 'Monitors', $mid ) ) { if ( $action == "function" && isset( $mid ) ) { @@ -243,6 +243,7 @@ if ( isset($action) ) $types = array( 'Triggers' => 'set', 'Controllable' => 'toggle', + 'TrackMotion' => 'toggle', ); $columns = getTableColumns( 'Monitors' );