From 0df59c26b80a00af1d4670776bb9c6c5a19ceb6d Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Sat, 10 Mar 2018 19:48:53 -0600 Subject: [PATCH] fix typo Fix unable to enable camera --- web/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index 5521c9cb8..e6bae02c4 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -709,7 +709,7 @@ function getFormChanges( $values, $newValues, $types=false, $columns=false ) { if ( empty($value) ) { $changes[$key] = "$key = 0"; } else { - $changes[$key] = "$key = 0"; + $changes[$key] = "$key = 1"; //$changes[$key] = $key . ' = '.dbEscape(trim($value)); } }