summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Barth2010-09-17 22:02:45 +0000
committerAlex Barth2010-09-17 22:02:45 +0000
commit4e07947d1db65b858004ba2f67ec5ba8f40372f5 (patch)
tree031b53e465cfc6eb92b435c103c83e66f8a5a4c1
parente49c8cdd57f9b394d030cee1b02a7ac8e4fe9c56 (diff)
Convert drupal_http_request().
-rw-r--r--libraries/http_request.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/http_request.inc b/libraries/http_request.inc
index 43a3b7f..a945724 100644
--- a/libraries/http_request.inc
+++ b/libraries/http_request.inc
@@ -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;