]> Raphaël G. Git Repositories - bbcode/commitdiff
Reset allow_null for args
authorRaphaël Gertz <git@rapsys.eu>
Tue, 8 Jan 2019 18:06:10 +0000 (19:06 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Tue, 8 Jan 2019 18:06:10 +0000 (19:06 +0100)
bbcode.c

index 7916d1cbe5fa5e89845ada856cb6efbb4ae78d0a..5810aae38435468b394260e30b05e66298035a6a 100644 (file)
--- a/bbcode.c
+++ b/bbcode.c
@@ -208,8 +208,8 @@ static zend_object *bbcode_create(zend_class_entry *ce TSRMLS_DC) {
 // ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
 ZEND_BEGIN_ARG_INFO_EX(bbcode_construct_arginfo, 0, 0, 1)
        // ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null)
 // ZEND_BEGIN_ARG_INFO_EX(name, _unused, return_reference, required_num_args)
 ZEND_BEGIN_ARG_INFO_EX(bbcode_construct_arginfo, 0, 0, 1)
        // ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null)
-       ZEND_ARG_ARRAY_INFO(0, tag, 0)
-       ZEND_ARG_ARRAY_INFO(0, smiley, 0)
+       ZEND_ARG_ARRAY_INFO(0, tag, 1)
+       ZEND_ARG_ARRAY_INFO(0, smiley, 1)
        // ZEND_ARG_INFO(pass_by_ref, name)
        ZEND_ARG_INFO(0, flag)
 ZEND_END_ARG_INFO()
        // ZEND_ARG_INFO(pass_by_ref, name)
        ZEND_ARG_INFO(0, flag)
 ZEND_END_ARG_INFO()