Skip to content

Commit eb86b6d

Browse files
authored
fix: undefined key "route" (#857)
1 parent 9426a9b commit eb86b6d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Traits/Hooks/UseDisplayDashboardTop.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ private function renderModuleManagerMessage(): string
389389
}
390390

391391
private function shouldDisplayModuleManagerMessage($params = []): bool
392-
{
392+
{
393+
if (!isset($params['route'])) {
394+
return false;
395+
}
396+
393397
return in_array(
394398
$params['route'],
395399
[

0 commit comments

Comments
 (0)