Skip to content

Commit

Permalink
FIX Parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 19, 2023
1 parent 81902f6 commit 5c2552e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Forms/CommentForm.php
Expand Up @@ -115,12 +115,12 @@ public function __construct($name, CommentingController $controller)
$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));
Expand Down

0 comments on commit 5c2552e

Please sign in to comment.