Skip to content
Snippets Groups Projects
Commit 8fa7d6a4 authored by Brice Maron's avatar Brice Maron
Browse files

Fix typo in getUrlContent fix #514

parent d91c841f
No related branches found
No related tags found
No related merge requests found
...@@ -688,7 +688,7 @@ class OC_Util { ...@@ -688,7 +688,7 @@ class OC_Util {
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($curl, CURLOPT_URL, $url); 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); $data = curl_exec($curl);
curl_close($curl); curl_close($curl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment