Commit 0b224d48 authored by Markus Klein's avatar Markus Klein

[BUGFIX] Only consider the language "selected" if L is not null or empty

Fixes #18
parent a8f44097
......@@ -84,7 +84,9 @@ 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']) !== '')) {
&& 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