mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-14 19:48:41 +00:00
load l11n
This commit is contained in:
parent
2f994eb5fe
commit
cd21181338
|
|
@ -493,7 +493,11 @@ final class ApiController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var Localization $l11n */
|
/** @var Localization $l11n */
|
||||||
$l11n = AccountMapper::get()->where('id', $accountId)->execute()->l11n;
|
$l11n = AccountMapper::get()
|
||||||
|
->with('l11n')
|
||||||
|
->where('id', $accountId)
|
||||||
|
->execute()
|
||||||
|
->l11n;
|
||||||
|
|
||||||
if ((bool) ($request->getData('load') ?? false)) {
|
if ((bool) ($request->getData('load') ?? false)) {
|
||||||
$locale = \explode('_', $request->getData('localization_load'));
|
$locale = \explode('_', $request->getData('localization_load'));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user