FIX Parameter order

This commit is contained in:
Steve Boyd 2023-01-19 21:18:14 +13:00
parent 81902f6293
commit 5c2552e4c9
1 changed files with 2 additions and 2 deletions

View File

@ -115,12 +115,12 @@ class CommentForm extends Form
$fields->removeByName('Name');
$fields->removeByName('Email');
$fields->insertBefore(
'URL',
ReadonlyField::create(
'NameView',
_t('CommentInterface.YOURNAME', 'Your name'),
$member->getName()
),
'URL'
)
);
$fields->push(HiddenField::create('Name', '', $member->getName()));
$fields->push(HiddenField::create('Email', '', $member->Email));