refs #2662 - ( #39afx2h )
This commit is contained in:
@ -94,6 +94,7 @@ class Category extends Model
|
||||
{
|
||||
return $this->resolveRouteBindingQuery($this, $value, $field)
|
||||
->withoutGlobalScope(Scope::class)
|
||||
->getWithoutChildren()
|
||||
->first();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user