Fixed User set locale, but not working translation
This commit is contained in:
@ -24,7 +24,7 @@ class EnableModule extends Job
|
||||
{
|
||||
$this->alias = $alias;
|
||||
$this->company_id = $company_id;
|
||||
$this->locale = $locale ?: app()->getLocale();
|
||||
$this->locale = $locale ?: company($company_id)->locale;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user