Fix typo in getUrlContent fix #514
This commit is contained in:
parent
d91c841f73
commit
8fa7d6a48a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue