]> granicus.if.org Git - php/commitdiff
Remove no longer needed check (checked at a higher level now).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 1 Mar 2006 18:37:11 +0000 (18:37 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 1 Mar 2006 18:37:11 +0000 (18:37 +0000)
ext/mysqli/mysqli.c

index 47539b717c07a6a59ba5f8a3f3d593b222dd822a..0d1b34db9eaa6e59c9c6c5586c12594856efdddc 100644 (file)
@@ -198,11 +198,6 @@ zval *mysqli_read_property(zval *object, zval *member, int type TSRMLS_DC)
 
        ret = FAILURE;
        obj = (mysqli_object *)zend_objects_get_address(object TSRMLS_CC);
-       /* object was already destroyed */
-       if (!obj->ptr) {
-               retval = EG(uninitialized_zval_ptr);
-               return(retval);
-       }
 
        if (member->type != IS_STRING) {
                tmp_member = *member;