]> granicus.if.org Git - php/commitdiff
That hashtable should never have been an argument....
authorSara Golemon <pollita@php.net>
Thu, 1 Jul 2004 04:43:29 +0000 (04:43 +0000)
committerSara Golemon <pollita@php.net>
Thu, 1 Jul 2004 04:43:29 +0000 (04:43 +0000)
ext/cpdf/cpdf.c

index f6162b2efc6b46759577df002ffc76e7c607d858..4c872d7cbd1386422d0480eb3cdfc5b3359c93d3 100644 (file)
@@ -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;
        }