From 7ef9824736c84992062551ceb32ee015a9461cb2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 28 Feb 2022 09:11:48 -0500 Subject: [PATCH] Handle NoDect case --- db/zm_update-1.37.12.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/zm_update-1.37.12.sql b/db/zm_update-1.37.12.sql index 4adc108bf..40322b519 100644 --- a/db/zm_update-1.37.12.sql +++ b/db/zm_update-1.37.12.sql @@ -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(