use isset when determining if a column exists, otherwise we throw warnings
This commit is contained in:
parent
5f415873d4
commit
dfae6661ab
|
@ -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]) )
|
||||
|
|
Loading…
Reference in New Issue