We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f74d6b7 commit 8f6a49cCopy full SHA for 8f6a49c
system/functions.php
@@ -1489,7 +1489,7 @@ function download($url) {
1489
$ch = curl_init($url);
1490
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
1491
curl_setopt($ch, CURLOPT_FAILONERROR, true);
1492
- curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ?? 'Vvveb ' . V_VERSION);
+ curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ?? 'Vvveb ' . V_VERSION);
1493
$result = curl_exec($ch);
1494
curl_close($ch);
1495
} else {
0 commit comments