Skip to content
Snippets Groups Projects
Commit 4e07947d authored by Alex Barth's avatar Alex Barth
Browse files

Convert drupal_http_request().

parent e49c8cdd
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ function http_request_get($url, $username = NULL, $password = NULL, $accept_inva
}
}
else {
$result = drupal_http_request($url, $headers);
$result = drupal_http_request($url, array('headers' => $headers));
}
$result->code = isset($result->code) ? $result->code : 200;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment