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)); } }