diff --git a/idiorm.php b/idiorm.php index a251ed79..584b152b 100644 --- a/idiorm.php +++ b/idiorm.php @@ -2091,7 +2091,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) {