Handle NoDect case

This commit is contained in:
Isaac Connor 2022-02-28 09:11:48 -05:00
parent 1ae8fcae63
commit 7ef9824736
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ PREPARE stmt FROM @s;
EXECUTE stmt;
UPDATE `Monitors` SET `Recording` = 'None' WHERE `Function` = 'Monitor';
UPDATE `Monitors` SET `Recording` = 'OnMotion' WHERE `Function` = 'Modect';
UPDATE `Monitors` SET `Recording` = 'OnMotion' WHERE `Function` = 'Modect' OR `Function` = 'Nodect';
UPDATE `Monitors` SET `Recording` = 'Always' WHERE `Function` = 'Mocord';
SET @s = (SELECT IF(