Index: branches/5.1.x/core/units/configuration/configuration_event_handler.php =================================================================== diff -u -N -r13188 -r13212 --- branches/5.1.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 13188) +++ branches/5.1.x/core/units/configuration/configuration_event_handler.php (.../configuration_event_handler.php) (revision 13212) @@ -1,6 +1,6 @@ SetFieldOptions('VariableValue', $new_field_options); // if password field is empty, then don't update - if ($object->GetDBField('element_type') == 'password') { + if ($object->GetDBField('ElementType') == 'password') { if (trim($object->GetDBField('VariableValue')) == '') { $field_options = $object->GetFieldOptions('VariableValue'); $field_options['skip_empty'] = 1; @@ -145,7 +145,7 @@ $object =& $event->getObject(); /* @var $object kDBItem */ - if ($object->GetDBField('element_type') == 'password') { + if ($object->GetDBField('ElementType') == 'password') { if (trim($object->GetDBField('VariableValue')) == '') { $field_options = $object->GetFieldOptions('VariableValue'); unset($field_options['skip_empty']);