use isset when determining if a column exists, otherwise we throw warnings

This commit is contained in:
Isaac Connor 2018-04-25 09:32:40 -04:00
parent 5f415873d4
commit dfae6661ab
1 changed files with 1 additions and 1 deletions

View File

@ -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]) )