mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Credit card limits not respected in 3.9? #1745
This commit is contained in:
parent
2d49c472c0
commit
f1453fe9a3
@ -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