mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Use the proper variable here.
This commit is contained in:
parent
8d97573973
commit
a53c7127bf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue