Fixed issue when user has single company
This commit is contained in:
parent
72c7cbb237
commit
4b935f5844
1 changed files with 4 additions and 0 deletions
|
|
@ -370,6 +370,10 @@ class AccountRepository
|
|||
|
||||
public function prepareUsersData($record)
|
||||
{
|
||||
if (!$record) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$users = $this->getUserAccounts($record);
|
||||
|
||||
$data = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue