From 8fa7d6a48a6d164809def0a5eb2b4f434f9683ce Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Mon, 19 Nov 2012 17:13:07 +0000 Subject: [PATCH] Fix typo in getUrlContent fix #514 --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index dd3c3721a68..e7ba3dd3dfe 100755 --- a/lib/util.php +++ b/lib/util.php @@ -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);