diff --git a/web/includes/Monitor.php b/web/includes/Monitor.php index 33ce1d7f0..ad3e95a0d 100644 --- a/web/includes/Monitor.php +++ b/web/includes/Monitor.php @@ -110,6 +110,7 @@ class Monitor extends ZM_Object { 'TrackDelay' => null, 'ReturnLocation' => -1, 'ReturnDelay' => null, + 'ModectDuringPTZ' => array('type'=>'boolean','default'=>0), 'DefaultRate' => 100, 'DefaultScale' => 0, 'SignalCheckPoints' => 0, diff --git a/web/includes/actions/monitor.php b/web/includes/actions/monitor.php index 762a98729..1c6e1f72f 100644 --- a/web/includes/actions/monitor.php +++ b/web/includes/actions/monitor.php @@ -53,6 +53,7 @@ if ( $action == 'save' ) { 'Triggers' => array(), 'Controllable' => 0, 'TrackMotion' => 0, + 'ModectDuringPTZ' => 0, 'Enabled' => 0, 'DecodingEnabled' => 0, 'Exif' => 0,