Permalink
Browse files

Fixed problem introduced in a763929 (fixing bug #61347).

The test added in 8c44c85 should now pass.
  • Loading branch information...
1 parent 0676031 commit f07dd29fdca49228551e8d39fb4282b33dffaa23 @cataphract cataphract committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/spl/spl_array.c
View
@@ -636,7 +636,7 @@ SPL_METHOD(Array, offsetExists)
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &index) == FAILURE) {
return;
}
- RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 0 TSRMLS_CC));
+ RETURN_BOOL(spl_array_has_dimension_ex(0, getThis(), index, 2 TSRMLS_CC));
} /* }}} */
/* {{{ proto mixed ArrayObject::offsetGet(mixed $index)

0 comments on commit f07dd29

Please sign in to comment.