Fix saving monitor due to MQTT being empty
parent
e088e88e13
commit
813434e0f4
|
@ -245,7 +245,7 @@ public static function getStatuses() {
|
|||
'RTSPServer' => array('type'=>'boolean', 'default'=>0),
|
||||
'RTSPStreamName' => '',
|
||||
'Importance' => 'Normal',
|
||||
'MQTT_Enabled' => false,
|
||||
'MQTT_Enabled' => array('type'=>'boolean','default'=>0),
|
||||
'MQTT_Subscriptions' => '',
|
||||
);
|
||||
private $status_fields = array(
|
||||
|
|
|
@ -101,6 +101,7 @@ if ($action == 'save') {
|
|||
'Method' => 'raw',
|
||||
'GroupIds' => array(),
|
||||
'LinkedMonitors' => array(),
|
||||
'MQTT_Enabled' => 0,
|
||||
'RTSPServer' => 0
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue