Commit b9d5d693 authored by Adrien Jacob's avatar Adrien Jacob Committed by Thomas Löffler

[BUGFIX] Redirect when language GET param is empty

parent bfc51fff
......@@ -83,7 +83,7 @@ class LanguageDetection extends AbstractPlugin
}
// Break out if language already selected
if (!$this->conf['dontBreakIfLanguageIsAlreadySelected'] && GeneralUtility::_GP($this->conf['languageGPVar']) !== null) {
if (!$this->conf['dontBreakIfLanguageIsAlreadySelected'] && GeneralUtility::_GP($this->conf['languageGPVar']) !== null && GeneralUtility::_GP($this->conf['languageGPVar']) !== '') {
if (TYPO3_DLOG) {
GeneralUtility::devLog('Break out since language is already selected', $this->extKey);
}
......
Markdown is supported
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