diff --git a/src/MultiLang/MultiLang.php b/src/MultiLang/MultiLang.php index 6faa1b8..3c6dacd 100644 --- a/src/MultiLang/MultiLang.php +++ b/src/MultiLang/MultiLang.php @@ -432,7 +432,7 @@ public function autoSaveIsAllowed() */ public function getLocale() { - return $this->lang; + return $this->lang ?? $this->config->get('default_locale'); } /**