Skip to content

Commit

Permalink
offsetExists() should return true for null values, resolves #181
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitch committed Jun 19, 2014
1 parent 4745ee7 commit f312b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idiorm.php
Original file line number Diff line number Diff line change
Expand Up @@ -2081,7 +2081,7 @@ public function delete_many() {
// --------------------- //

public function offsetExists($key) {
return isset($this->_data[$key]);
return array_key_exists($key, $this->_data);
}

public function offsetGet($key) {
Expand Down

0 comments on commit f312b3b

Please # to comment.