fixed #563
This commit is contained in:
@ -56,7 +56,7 @@ class Category extends Model
|
||||
*/
|
||||
public function scopeType($query, $type)
|
||||
{
|
||||
return $query->where('type', $type);
|
||||
return $query->whereIn('type', (array) $type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user