Skip to content

Commit

Permalink
Change field name from alias to id
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunziker committed Jan 14, 2017
1 parent 42de11e commit eb8664f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function onCustomFieldsPrepareDom($field, DOMElement $parent, JForm $form
$node = $parent->appendChild(new DOMElement('field'));

// Set the attributes
$node->setAttribute('name', $field->alias);
$node->setAttribute('name', $field->id);
$node->setAttribute('type', $field->type);
$node->setAttribute('default', $field->default_value);
$node->setAttribute('label', $field->label);
Expand Down

0 comments on commit eb8664f

Please sign in to comment.