Skip to content

Commit 4781390

Browse files
committed
editing authors via inline edits should follow the same rules as element editor edits
1 parent 3156467 commit 4781390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/elements/Entry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2485,7 +2485,7 @@ protected function inlineAttributeInputHtml(string $attribute): string
24852485
],
24862486
'single' => false,
24872487
'elements' => $authors ?: null,
2488-
'disabled' => false,
2488+
'disabled' => !$this->canChangeAuthor(),
24892489
'errors' => $this->getErrors('authorIds'),
24902490
'limit' => $section->maxAuthors,
24912491
]);

0 commit comments

Comments
 (0)