Skip to content
Snippets Groups Projects
Commit 6144858d authored by Sebastien's avatar Sebastien
Browse files

Merge branch...

Merge branch 'tuleap-193-capsule-editor-non-author-should-be-able-to-remove-himself-as-editor' into 'main'

tuleap-193-capsule-editor-non-author-should-be-able-to-remove-himself-as-editor

See merge request !75
parents d4c704e7 834bd9cc
No related branches found
No related tags found
1 merge request!75tuleap-193-capsule-editor-non-author-should-be-able-to-remove-himself-as-editor
Pipeline #918 passed
......@@ -243,7 +243,7 @@ class CapsuleEditorController extends AbstractController
return $this->redirectToRoute('app_logout');
}
if ($editor === $current_user) {
if ($editor_id === $capsule->getCreationAuthor()->getId()) {
$this->addFlash(
'warning',
$this->translator->trans(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment