X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_response_object.c;h=0e860bf95da232c3a8d6ecd9c7dee44e21387fd9;hp=52a1dd1cc1efc4b7f62ee5ed79976103c1c3adc5;hb=b3afcfc70bf06c062115f4994cc04fc8c6e4aa67;hpb=f554559b173302ed66167d8224023d05c5dabc81 diff --git a/http_response_object.c b/http_response_object.c index 52a1dd1..0e860bf 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -817,7 +817,7 @@ PHP_METHOD(HttpResponse, setData) char *etag; zval *the_data; - if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &the_data)) { + if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &the_data)) { RETURN_FALSE; } if (Z_TYPE_P(the_data) != IS_STRING) {