Upgrade to 3.3.0
This commit is contained in:
@@ -37,9 +37,7 @@ class Api extends BaseApi
|
||||
$this->setRequestMethod($method);
|
||||
$this->setRequestData($requestData);
|
||||
|
||||
if ($languageCode = $this->language()) {
|
||||
$this->kirby->setCurrentLanguage($languageCode);
|
||||
}
|
||||
$this->kirby->setCurrentLanguage($this->language());
|
||||
|
||||
if ($user = $this->kirby->user()) {
|
||||
$this->kirby->setCurrentTranslation($user->language());
|
||||
|
Reference in New Issue
Block a user