diff options
author | Simon Holywell <[email protected]> | 2014-06-20 17:01:12 +0100 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2014-06-20 17:01:12 +0100 |
commit | 019b01a74efe254c39f9106905ccc1eefe294910 (patch) | |
tree | a22446c543ca2370bc165fb34a294255e3475c86 /idiorm.php | |
parent | ffb4ef2d090223215687819763e335ebc319d716 (diff) | |
parent | f312b3bf0b9226683872fee77f0b22cbffbd3a44 (diff) |
Merge pull request #214 from cainmi/issue-181
offsetExists() should return true for null values, resolves #181
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2091,7 +2091,7 @@ // --------------------- // public function offsetExists($key) { - return isset($this->_data[$key]); + return array_key_exists($key, $this->_data); } public function offsetGet($key) { |