Skip to content

Commit

Permalink
Update helpers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed May 27, 2024
1 parent 93e1c33 commit 6e0e34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function column(string $column): string
if (!function_exists('locales')) {
function locales(): array
{
return array_keys(config('typicms.locales'));
return array_keys(config('typicms.locales', []));
}
}

Expand Down

0 comments on commit 6e0e34c

Please sign in to comment.