summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorMitch <[email protected]>2014-06-19 19:39:49 +1000
committerMitch <[email protected]>2014-06-19 19:39:49 +1000
commitf312b3bf0b9226683872fee77f0b22cbffbd3a44 (patch)
tree36a19e7fd47335287177572cc86cefb3011c1bb9 /idiorm.php
parent4745ee73381c6a6bbb099cff745ac8781ce38ffc (diff)
offsetExists() should return true for null values, resolves #181
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index 73072e6..2a5b9e5 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -2081,7 +2081,7 @@
// --------------------- //
public function offsetExists($key) {
- return isset($this->_data[$key]);
+ return array_key_exists($key, $this->_data);
}
public function offsetGet($key) {