]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix typo in getUrlContent fix #514
authorBrice Maron <brice@bmaron.net>
Mon, 19 Nov 2012 17:13:07 +0000 (17:13 +0000)
committerBrice Maron <brice@bmaron.net>
Mon, 19 Nov 2012 17:13:07 +0000 (17:13 +0000)
lib/util.php

index dd3c3721a68d56d2b14412c41888b0467e14aecb..e7ba3dd3dfe23662297611425163ccc99cac1933 100755 (executable)
@@ -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);