From: Raphaƫl Gertz Date: Tue, 8 Jan 2019 18:06:10 +0000 (+0100) Subject: Reset allow_null for args X-Git-Url: https://git.rapsys.eu/bbcode/commitdiff_plain/6c4c81d7f5790de40252709342d896ce3f50cf0a?hp=bf6b128379b87fb3e0e38faa4f3ce4eef74563bf Reset allow_null for args --- diff --git a/bbcode.c b/bbcode.c index 7916d1c..5810aae 100644 --- 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_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()