mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-23 23:07:46 +01:00
fix: 🐛 Eccezione quando non ci sono routes nella configurazione del modulo
This commit is contained in:
parent
c316be3ef2
commit
8ad8857e2e
@ -31,7 +31,7 @@ class Controller extends BaseController
|
||||
$drawer_entries[] = config("$id.drawer_entries");
|
||||
}
|
||||
|
||||
$module->drawer_entries = array_merge(...$drawer_entries);
|
||||
$module->drawer_entries = array_merge(...array_filter($drawer_entries, static fn ($entry) => $entry !== null));
|
||||
|
||||
return $module;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user