mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
Correct a copy-n-paste bug. Spotted by Michael Sisolak <msisolak@yahoo.com>
This commit is contained in:
parent
fb41198f05
commit
bfdb85d1f0
@ -1710,7 +1710,7 @@ PHP_FUNCTION(com_propget)
|
||||
int arg_count = ZEND_NUM_ARGS();
|
||||
VARIANT *var_result;
|
||||
|
||||
if (arg_count<3) {
|
||||
if (arg_count < 2) {
|
||||
ZEND_WRONG_PARAM_COUNT();
|
||||
}
|
||||
arguments = (zval **) emalloc(sizeof(pval *)*arg_count);
|
||||
|
Loading…
Reference in New Issue
Block a user