mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
argument count fix
This commit is contained in:
parent
563c0670e5
commit
d330072db9
@ -1140,7 +1140,7 @@ PHP_FUNCTION(dbplus_rquery)
|
||||
zval **name, **dbpath;
|
||||
int argc;
|
||||
|
||||
if (argc <1 || argc>2 || zend_get_parameters_ex(1, &name, &dbpath) == FAILURE){
|
||||
if ((argc <1) || (argc>2) || (zend_get_parameters_ex(2, &name, &dbpath) == FAILURE)){
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user