Browse Source

That hashtable should never have been an argument....

PHP-5.0
Sara Golemon 22 years ago
parent
commit
76766f2d31
  1. 2
      ext/cpdf/cpdf.c

2
ext/cpdf/cpdf.c

@ -726,7 +726,7 @@ PHP_FUNCTION(cpdf_set_font)
int id, type;
CPDFdoc *pdf;
if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(ht, 4, &arg1, &arg2, &arg3, &arg4) == FAILURE) {
if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(4, &arg1, &arg2, &arg3, &arg4) == FAILURE) {
WRONG_PARAM_COUNT;
}

Loading…
Cancel
Save