Minor fixes

This commit is contained in:
= 2021-07-16 22:00:21 +10:00
parent ba5d2f8fc3
commit 1c410b0a95

View File

@ -558,9 +558,7 @@ class Import implements ShouldQueue
{ {
$value = trim($value); $value = trim($value);
$model_query = (new $model()) $model_query = $model::where($column, $value)
->query()
->where($column, $value)
->where('company_id', $this->company->id) ->where('company_id', $this->company->id)
->exists(); ->exists();