Upgrade to 3.8.1.1
This commit is contained in:
@@ -925,14 +925,14 @@ class App
|
||||
}
|
||||
|
||||
if ($code === 'default') {
|
||||
return $this->languages()->default();
|
||||
return $this->defaultLanguage();
|
||||
}
|
||||
|
||||
if ($code !== null) {
|
||||
return $this->languages()->find($code);
|
||||
}
|
||||
|
||||
return $this->language = $this->language ?? $this->languages()->default();
|
||||
return $this->language = $this->language ?? $this->defaultLanguage();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user