1
0
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:
Hillel Coren 2015-11-04 15:10:41 +02:00
parent 72c7cbb237
commit 4b935f5844

View File

@ -370,6 +370,10 @@ class AccountRepository
public function prepareUsersData($record)
{
if (!$record) {
return false;
}
$users = $this->getUserAccounts($record);
$data = [];