summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {