Skip to content

Fix for ORM#is_dirty#268

Closed
tentwofour wants to merge 1 commit intoj4mie:masterfrom
tentwofour:bugfix-orm-is-dirty
Closed

Fix for ORM#is_dirty#268
tentwofour wants to merge 1 commit intoj4mie:masterfrom
tentwofour:bugfix-orm-is-dirty

Conversation

@tentwofour
Copy link
Copy Markdown
Contributor

Update ORM#is_dirty - swapped isset() for array_key_exists() - isset() will return false when fields have been set null.

Update ORMTest#testIsDirty - added tests for filed set to '' and null

…) will return false when fields have been set null.

Update ORMTest#testIsDirty - added tests for filed set to '' and null
voku pushed a commit to voku/idiorm that referenced this pull request Dec 3, 2015
@treffynnon
Copy link
Copy Markdown
Collaborator

Merged into develop. Thanks!

@treffynnon treffynnon closed this Dec 14, 2016
Repository owner locked and limited conversation to collaborators Dec 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants