mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
public function prepareUsersData($record)
|
||||||
{
|
{
|
||||||
|
if (!$record) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$users = $this->getUserAccounts($record);
|
$users = $this->getUserAccounts($record);
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user