Skip to content

Commit

Permalink
Merge pull request #768 from creative-commoners/pulls/4.5/remove-unne…
Browse files Browse the repository at this point in the history
…cessary-translation

FIX Remove unnecessary translation of parameterised field value
  • Loading branch information
dhensby authored May 9, 2018
2 parents d9bef26 + 8f363d6 commit 47d3449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/model/UserDefinedForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function getCMSFields()
// text to show on complete
$onCompleteFieldSet = new CompositeField(
$label = new LabelField('OnCompleteMessageLabel', _t('UserDefinedForm.ONCOMPLETELABEL', 'Show on completion')),
$editor = new HtmlEditorField('OnCompleteMessage', '', _t('UserDefinedForm.ONCOMPLETEMESSAGE', $self->OnCompleteMessage))
$editor = new HtmlEditorField('OnCompleteMessage', '', $self->OnCompleteMessage)
);

$onCompleteFieldSet->addExtraClass('field');
Expand Down

0 comments on commit 47d3449

Please sign in to comment.