Skip to content
Snippets Groups Projects
Commit 87fae8bc authored by Daniel Goerz's avatar Daniel Goerz Committed by Markus Klein
Browse files

[BUGFIX] Allow editing of pages with language ID > 9

Resolves: #86734
Releases: master
Change-Id: Ib26c0336531e1e692f73ccc431b7091c47755ce9
Reviewed-on: https://review.typo3.org/58696


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
parent bf961f42
Branches
Tags
No related merge requests found
......@@ -76,7 +76,7 @@ class InputSlugElement extends AbstractFormElement
$resultArray = $this->initializeResultArray();
$languageField = $GLOBALS['TCA'][$table]['ctrl']['languageField'];
$languageId = (int)($row[$languageField][0] ?? 0);
$languageId = (int)($row[$languageField] ?? 0);
$baseUrl = $this->getPrefix($this->data['site'], $languageId);
$itemValue = $parameterArray['itemFormElValue'];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment