mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Fix #340
This commit is contained in:
@@ -144,6 +144,7 @@ class Module extends Model
|
||||
public static function getHierarchy()
|
||||
{
|
||||
return self::with('allChildren')
|
||||
->withoutGlobalScope('enabled')
|
||||
->whereNull('parent')
|
||||
->orderBy('order')
|
||||
->get();
|
||||
|
Reference in New Issue
Block a user