- separation of the postFields array
authorMichael Wallner <mike@php.net>
Thu, 22 Dec 2005 16:36:01 +0000 (16:36 +0000)
committerMichael Wallner <mike@php.net>
Thu, 22 Dec 2005 16:36:01 +0000 (16:36 +0000)
http_request_object.c

index 1026317a6354a19e7234d30f765e3d153b371b5b..5032247ec8f4d141ec07df88540b331838257db1 100644 (file)
@@ -1190,7 +1190,7 @@ PHP_METHOD(HttpRequest, setPostFields)
        zval *post, *post_data = NULL;
        getObject(http_request_object, obj);
 
-       if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!", &post_data)) {
+       if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a/!", &post_data)) {
                RETURN_FALSE;
        }