Skip to content

Commit 4b2e21d

Browse files
committed
BUGFIX: Translate error message when redirect exists
1 parent 2228297 commit 4b2e21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Controller/ModuleController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected function updateRedirect(
582582
$existingRedirect = $this->redirectStorage->getOneBySourceUriPathAndHost($sourceUriPath,
583583
$host ?: null, false);
584584
if ($existingRedirect !== null) {
585-
$this->addFlashMessage('', 'error.redirectExists', Message::SEVERITY_ERROR);
585+
$this->addFlashMessage('', $this->translateById('error.redirectExists'), Message::SEVERITY_ERROR);
586586
return [];
587587
}
588588
}

0 commit comments

Comments
 (0)