Fixed widget and report alias issue.. ( #32baajc )
This commit is contained in:
@@ -54,7 +54,7 @@ class Reports
|
||||
return false;
|
||||
}
|
||||
|
||||
if (($model->alias != 'core') && (new static)->moduleIsDisabled($model->alias)) {
|
||||
if (! empty($model) && ($model->alias != 'core') && (new static)->moduleIsDisabled($model->alias)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user