From 09e2c59133f4a72f062e02d81ad04b93a435f36b Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 2 Jan 2006 22:11:22 +0000 Subject: [PATCH] MFH --- sapi/apache2handler/php_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index fa99082489..871b1992cc 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -255,7 +255,7 @@ PHP_FUNCTION(apache_setenv) int arg_count = ZEND_NUM_ARGS(); request_rec *r; - if (arg_count<1 || arg_count>3 || + if (arg_count < 2 || arg_count > 3 || zend_get_parameters_ex(arg_count, &variable, &string_val, &walk_to_top) == FAILURE) { WRONG_PARAM_COUNT; } -- 2.40.0