mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Merge gateway limits fix
This commit is contained in:
parent
0970b2d610
commit
d6f531adc9
@ -161,7 +161,7 @@ class EntityModel extends Eloquent
|
|||||||
|
|
||||||
$query->where($this->getTable() .'.account_id', '=', $accountId);
|
$query->where($this->getTable() .'.account_id', '=', $accountId);
|
||||||
|
|
||||||
if (func_num_args() > 1 && ! $publicId) {
|
if (func_num_args() > 1 && ! $publicId && ! $accountId) {
|
||||||
$query->where('id', '=', 0);
|
$query->where('id', '=', 0);
|
||||||
return $query;
|
return $query;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user