* Guests do not need permission to edit their posts
This commit is contained in:
parent
420f9e6191
commit
c3fbf44502
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ trait PostFormTrait
|
|||
'checked' => isset($vars['merge_post']) ? (bool) $vars['merge_post'] : true,
|
||||
];
|
||||
}
|
||||
if ($editPost) {
|
||||
if ($editPost && ! $model->user->isGuest) {
|
||||
$fieldset['edit_post'] = [
|
||||
'type' => 'checkbox',
|
||||
'label' => \ForkBB\__('EditPost edit'),
|
||||
|
|
Loading…
Add table
Reference in a new issue