Fix unable to enable camera
This commit is contained in:
Andrew Bauer 2018-03-10 19:48:53 -06:00 committed by GitHub
parent 0d9f5b73c8
commit 0df59c26b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -709,7 +709,7 @@ function getFormChanges( $values, $newValues, $types=false, $columns=false ) {
if ( empty($value) ) { if ( empty($value) ) {
$changes[$key] = "$key = 0"; $changes[$key] = "$key = 0";
} else { } else {
$changes[$key] = "$key = 0"; $changes[$key] = "$key = 1";
//$changes[$key] = $key . ' = '.dbEscape(trim($value)); //$changes[$key] = $key . ' = '.dbEscape(trim($value));
} }
} }