mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
MFH: fixed apache_setenv(): at least 2 parameters are required
This commit is contained in:
parent
d4dd29194b
commit
6d8c69e3cb
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue