fixed ambiguous type
This commit is contained in:
@ -76,7 +76,7 @@ class Contact extends Model
|
||||
return $query;
|
||||
}
|
||||
|
||||
return $query->whereIn('type', (array) $types);
|
||||
return $query->whereIn($this->table . '.type', (array) $types);
|
||||
}
|
||||
|
||||
public function scopeEmail($query, $email)
|
||||
|
Reference in New Issue
Block a user