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

[5.4] Avoid a problem when adding timestamp columns in dates array #20193

Merged
merged 1 commit into from
Jul 20, 2017
Merged

[5.4] Avoid a problem when adding timestamp columns in dates array #20193

merged 1 commit into from
Jul 20, 2017

Conversation

themsaid
Copy link
Member

This change will ensure that date columns will be unique, so that if you add created_at and updated_at columns in your Model's $dates attribute they won't be parsed twice inside HasAttributes::addDateAttributesToArray().

@taylorotwell taylorotwell merged commit 4a6d95b into laravel:5.4 Jul 20, 2017
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.

2 participants