mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
global search
This commit is contained in:
@@ -52,6 +52,7 @@ class Preferences extends \Espo\Core\Controllers\Base
|
||||
$this->handleUserAccess($userId);
|
||||
|
||||
$entity = $this->getEntityManager()->getEntity('Preferences', $userId);
|
||||
$entity->set('name', $this->getUser()->get('name'));
|
||||
if ($entity) {
|
||||
return $entity->toArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user