Try to fix warnings

This commit is contained in:
Laurent Destailleur
2023-01-08 19:28:38 +01:00
parent f130237e25
commit 027ff49100
2 changed files with 21 additions and 21 deletions

View File

@@ -266,9 +266,9 @@ function getURLContent($url, $postorget = 'GET', $param = '', $followlocation =
$maxRedirection--;
// TODO Use $info['local_ip'] and $info['primary_ip'] ?
continue;
} else {
$http_code = 0;
}
$http_code = 0;
} while ($http_code);
$request = curl_getinfo($ch, CURLINFO_HEADER_OUT); // Reading of request must be done after sending request