mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.
This commit is contained in:
parent
afbcd5c4eb
commit
959f40a957
@ -2164,7 +2164,7 @@ PHP_FUNCTION(odbc_close)
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
conn = (odbc_connection *) zend_fetch_resource(pv_conn, -1, "ODBC-Link", found_resource_type, 2, le_conn, le_pconn);
|
||||
conn = (odbc_connection *) zend_fetch_resource(pv_conn, -1, "ODBC-Link", &found_resource_type, 2, le_conn, le_pconn);
|
||||
if (found_resource_type==le_pconn) {
|
||||
is_pconn = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user