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

[1.x] Fixes sharing "Carbon" state shared between requests #552

Merged
merged 2 commits into from
Jul 15, 2022

Conversation

nunomaduro
Copy link
Member

At the time of this writing, when a "Carbon::setLocale()" call is made within an Octane request, the "locale" state persist to the next request. This pull request fixes that, by reset the Carbon "locale" to the original of the application.

Fixes #551, and once this pull request is merged and tagged, and we put briannesbitt/Carbon#2640 "Ready to Review".

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.

Carbon localization not set via App::setLocale()
3 participants