mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Remove no longer needed check (checked at a higher level now).
This commit is contained in:
parent
3840e428bb
commit
1aa1c535b5
1 changed files with 0 additions and 5 deletions
|
@ -198,11 +198,6 @@ zval *mysqli_read_property(zval *object, zval *member, int type TSRMLS_DC)
|
||||||
|
|
||||||
ret = FAILURE;
|
ret = FAILURE;
|
||||||
obj = (mysqli_object *)zend_objects_get_address(object TSRMLS_CC);
|
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) {
|
if (member->type != IS_STRING) {
|
||||||
tmp_member = *member;
|
tmp_member = *member;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue