Skip to content

Commit

Permalink
Merge pull request #208 from willtp87/7.x-1.6-ISLANDORA-1514
Browse files Browse the repository at this point in the history
Not overriding set models.
  • Loading branch information
ruebot committed Oct 22, 2015
2 parents 345d1ae + 6ffff1c commit a0f85ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/xml_form_builder.module
Expand Up @@ -560,7 +560,7 @@ function xml_form_builder_update_object(AbstractObject $object, array $associati
if ($label) {
$object->label = $label;
}
$object->models = array($association['content_model']);
$object->models = array_merge($object->models, array($association['content_model']));
$document = $document->document;
$run_transforms = !variable_get('xml_form_builder_use_default_dc_xslts', FALSE);
if (isset($association['self_transform']) && $association['self_transform'] != 'No Transform' && $run_transforms) {
Expand Down

0 comments on commit a0f85ca

Please sign in to comment.