From b46b6f8c9261ed2b7c5198169073b0ed18a9c4f5 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 4 Dec 2006 13:37:58 +0000 Subject: [PATCH] - HttpRequest::encodeBody() is also available if curl_formget() is in libcurl --- http_request_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_request_object.c b/http_request_object.c index af4a2b9..3fbfdbf 100644 --- a/http_request_object.c +++ b/http_request_object.c @@ -334,7 +334,7 @@ zend_function_entry http_request_object_fe[] = { HTTP_REQUEST_ALIAS(methodUnregister, http_request_method_unregister) HTTP_REQUEST_ALIAS(methodName, http_request_method_name) HTTP_REQUEST_ALIAS(methodExists, http_request_method_exists) -#ifdef HAVE_CURL_GETFORMDATA +#if defined(HAVE_CURL_GETFORMDATA) || defined(HAVE_CURL_FORMGET) HTTP_REQUEST_ALIAS(encodeBody, http_request_body_encode) #endif EMPTY_FUNCTION_ENTRY -- 2.30.2