mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
Fixed Hash API usage
This commit is contained in:
@@ -853,7 +853,7 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
|
||||
return (int) (s.cur - inquery);
|
||||
}
|
||||
/* lookup bind by index */
|
||||
if(NULL != zend_hash_index_find(params, bindno, (void **)¶m))
|
||||
if(NULL != (params = zend_hash_index_find_ptr(params, bindno)))
|
||||
{
|
||||
char *quotedstr;
|
||||
int quotedstrlen;
|
||||
|
||||
@@ -495,7 +495,7 @@ int old_pdo_parse_params(pdo_stmt_t *stmt, char *inquery, int inquery_len, char
|
||||
return (int) (s.cur - inquery);
|
||||
}
|
||||
/* lookup bind by index */
|
||||
if(NULL != zend_hash_index_find(params, bindno, (void **)¶m))
|
||||
if(NULL != (params = zend_hash_index_find_ptr(params, bindno)))
|
||||
{
|
||||
char *quotedstr;
|
||||
int quotedstrlen;
|
||||
|
||||
Reference in New Issue
Block a user