Skip to content

Commit

Permalink
fix: fix default timezone can't be empty (#6992)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Oct 31, 2023
1 parent 3799ab5 commit 3c9638d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/CountriesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,6 @@ public static function getDefaultTimezone($country): string
break;
}

return $timezone;
return $timezone ?? config('app.timezone');
}
}

0 comments on commit 3c9638d

Please sign in to comment.