Skip to content

Commit

Permalink
Incorrect variable name used in curl.php
Browse files Browse the repository at this point in the history
Incorrect variable name used for the user agent string.
  • Loading branch information
chrisdavenport committed Aug 22, 2013
1 parent e7c0d3f commit dd57d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/http/transport/curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function request($method, JUri $uri, $data = null, array $headers = null,
// If an explicit user agent is given use it.
if (isset($userAgent))
{
$headers[CURLOPT_USERAGENT] = $userAgent;
$options[CURLOPT_USERAGENT] = $userAgent;
}

// Set the request URL.
Expand Down

0 comments on commit dd57d38

Please sign in to comment.