- The parse parameters line was wrong, it still had the extra one that was
authorDerick Rethans <derick@derickrethans.nl>
Wed, 8 Jun 2011 12:28:48 +0000 (13:28 +0100)
committerDerick Rethans <derick@derickrethans.nl>
Wed, 8 Jun 2011 12:28:48 +0000 (13:28 +0100)
  removed in Twig itself already.

twig.c

diff --git a/twig.c b/twig.c
index aa92723..838c53a 100644 (file)
--- a/twig.c
+++ b/twig.c
@@ -230,7 +230,7 @@ PHP_FUNCTION(twig_template_get_attributes)
        int   type_len = 0;
        zend_bool isDefinedTest = 0;
 
-       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ozzasbl", &template, &object, &item, &arguments, &type, &type_len, &isDefinedTest) == FAILURE) {
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ozzasb", &template, &object, &item, &arguments, &type, &type_len, &isDefinedTest) == FAILURE) {
                return;
        }