Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback to locale or 'en' when site lang is not present #372

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

ryanmitchell
Copy link
Contributor

This PR ensures an empty site lang is not inserted to the database by falling back to the language in the locale, or en if no locale is present

Closes #371

@ryanmitchell ryanmitchell merged commit 65806da into statamic:master Nov 1, 2024
11 checks passed
@ryanmitchell ryanmitchell deleted the fix/sites-import branch November 1, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic slug creation from a title
1 participant