Fix typo in getUrlContent fix #514

This commit is contained in:
Brice Maron 2012-11-19 17:13:07 +00:00
parent d91c841f73
commit 8fa7d6a48a

View file

@ -688,7 +688,7 @@ class OC_Util {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_USERAGENT, "ownCloud Server Crawler");
curl_setopt($curl, CURLOPT_USERAGENT, "ownCloud Server Crawler");
$data = curl_exec($curl);
curl_close($curl);