Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3080003e authored by Akhil's avatar Akhil 🙂
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent a3ec20df
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ As we are unable to change the ACCEPT_LANGUAGE header for a public page, findLan
 			}
 		}
 
+		$selectedLang = \OC::$server->getSession()->get('selected_language');;
+		$selectedLang = \OC::$server->getSession()->get('selected_language');
+		if (!empty($selectedLang) && $this->languageExists($appId, $selectedLang)) {
+			return $selectedLang;
+		}