mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixed issue when user has single company
This commit is contained in:
parent
72c7cbb237
commit
4b935f5844
@ -370,6 +370,10 @@ class AccountRepository
|
||||
|
||||
public function prepareUsersData($record)
|
||||
{
|
||||
if (!$record) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$users = $this->getUserAccounts($record);
|
||||
|
||||
$data = [];
|
||||
|
Loading…
Reference in New Issue
Block a user