1
0
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:
David Bomba 2021-07-16 08:51:01 +10:00
parent 36ce02074a
commit 52d2172953

View File

@ -561,6 +561,7 @@ class Import implements ShouldQueue
$model_query = (new $model())
->query()
->where($column, $value)
->where('company_id', $this->company->id)
->exists();
if($model_query)