Widget and Report check is module disabled
This commit is contained in:
@ -439,6 +439,10 @@ trait Modules
|
||||
return false;
|
||||
}
|
||||
|
||||
if (module($alias)->disabled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (! Module::alias($alias)->enabled()->first()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user