Skip to content

Commit

Permalink
Avoid boolean cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 16, 2014
1 parent 1d97a7f commit f79d34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datasource/EntityTrait.php
Expand Up @@ -543,7 +543,7 @@ public function dirty($property = null, $isDirty = null) {
return isset($this->_dirty[$property]);
}

if (!$isDirty) {
if ($isDirty === false) {
unset($this->_dirty[$property]);
return false;
}
Expand Down

0 comments on commit f79d34e

Please sign in to comment.