mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for checking constraints
This commit is contained in:
parent
36ce02074a
commit
52d2172953
@ -561,6 +561,7 @@ class Import implements ShouldQueue
|
|||||||
$model_query = (new $model())
|
$model_query = (new $model())
|
||||||
->query()
|
->query()
|
||||||
->where($column, $value)
|
->where($column, $value)
|
||||||
|
->where('company_id', $this->company->id)
|
||||||
->exists();
|
->exists();
|
||||||
|
|
||||||
if($model_query)
|
if($model_query)
|
||||||
|
Loading…
Reference in New Issue
Block a user