X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_methods.c;h=d22ae96e912c00c050ef0cc7f3c55492e9805ab9;hp=ded27ff88ee5313b10fcb2b020ee1f320ee5cb9f;hb=af674f03c32f0f56b7f8c67e61c7e86b3ea23be5;hpb=5c168fb7bf2dd7b0662dd4291bb340b43fef5aa3 diff --git a/http_methods.c b/http_methods.c index ded27ff..d22ae96 100644 --- a/http_methods.c +++ b/http_methods.c @@ -478,7 +478,7 @@ PHP_METHOD(HttpResponse, send) zval *dispo_file = GET_PROP(obj, dispoFile); if (Z_STRLEN_P(dispo_file)) { zval *dispo_inline = GET_PROP(obj, dispoInline); - http_send_content_disposition(Z_STRVAL_P(dispo_file), Z_STRLEN_P(dispo_file), Z_LVAL_P(dispo_inline)); + http_send_content_disposition(Z_STRVAL_P(dispo_file), Z_STRLEN_P(dispo_file), (zend_bool) Z_LVAL_P(dispo_inline)); } }