Commit 13f18be8 authored by Markus Klein's avatar Markus Klein

[BUGFIX] Detect if browser sent no accepted languages

parent 6698bb1d
......@@ -163,6 +163,10 @@ class LanguageDetection extends AbstractPlugin
//Get Accepted Languages from Browser
$acceptedLanguagesArr = $this->getAcceptedLanguages();
if (empty($acceptedLanguagesArr)) {
if (TYPO3_DLOG) {
GeneralUtility::devLog('Detecting user browser languages', $this->extKey, 0, $acceptedLanguagesArr);
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