Correct a copy-n-paste bug. Spotted by Michael Sisolak <msisolak@yahoo.com>

This commit is contained in:
Wez Furlong 2002-10-31 08:23:55 +00:00
parent fb41198f05
commit bfdb85d1f0

View File

@ -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);