fix(db): initialize DBConfig group data correctly

This commit is contained in:
idevakk
2025-10-03 16:47:15 +05:30
parent c0409f6fdf
commit 9b7ee3add0
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ class DashPanelProvider extends PanelProvider
private function loadConfiguration(): void
{
try {
$group = DbConfig::getGroup('panel');
$group = DbConfig::getGroup('panel') ?? [];
$this->panelConfig = (in_array($group, [null, []], true)) ? [] : $group;
} catch (\Exception $e) {
Log::error($e->getMessage());