mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
- Use the proper variable here.
This commit is contained in:
parent
0203c31f78
commit
679c87e999
@ -539,7 +539,7 @@ static MYSQLND *mysqli_convert_zv_to_mysqlnd(zval *zv TSRMLS_DC)
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);
|
||||
return NULL;
|
||||
}
|
||||
mysql = ((MY_MYSQL *)my_res->ptr)->mysql;
|
||||
mysql = (MY_MYSQL *)(my_res->ptr);
|
||||
return mysql ? mysql->mysql : NULL;
|
||||
}
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user