mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
portal dev
This commit is contained in:
@@ -50,6 +50,12 @@ class Settings extends \Espo\Core\Controllers\Base
|
||||
foreach ($this->getContainer()->get('portal')->getSettingsAttributeList() as $attribute) {
|
||||
$data[$attribute] = $this->getContainer()->get('portal')->get($attribute);
|
||||
}
|
||||
if (empty($data['language'])) {
|
||||
$data['language'] = $this->getConfig()->get('language');
|
||||
}
|
||||
if (empty($data['theme'])) {
|
||||
$data['theme'] = $this->getConfig()->get('theme');
|
||||
}
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user