Commit e0f51b59 authored by Thomas Löffler's avatar Thomas Löffler

Change condition for language paremeter check

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