diff --git a/web/includes/functions.php b/web/includes/functions.php index 0e396a02f..2ae484784 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -486,7 +486,7 @@ function getFormChanges( $values, $newValues, $types=false, $columns=false ) { $types = array(); foreach( $newValues as $key=>$value ) { - if ( $columns && !$columns[$key] ) + if ( $columns && !isset($columns[$key]) ) continue; if ( !isset($types[$key]) )