From d330072db93e1e34cd1194c6f74a0ac4b69a3752 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Tue, 18 Sep 2001 20:42:37 +0000 Subject: [PATCH] argument count fix --- ext/dbplus/php_dbplus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dbplus/php_dbplus.c b/ext/dbplus/php_dbplus.c index 2c33740563..a53cb2df77 100644 --- a/ext/dbplus/php_dbplus.c +++ b/ext/dbplus/php_dbplus.c @@ -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; } -- 2.50.1