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

fix: empty birthday was forced to save zero date #1787

Merged
merged 9 commits into from Mar 28, 2017

Conversation

jaanusnurmoja
Copy link

Even if an empty element was set to save null, it returned '' that was "converted" to '0000-00-00' in database field

Even if an empty element was set to save null, it returned '' that was "converted" to '0000-00-00' in database field
@cheesegrits
Copy link
Member

You need to initialize $save, otherwise it could end up not being set, if none of the conditions are true.

@cheesegrits cheesegrits merged commit e7b3368 into Fabrik:master Mar 28, 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.

None yet

2 participants