mirror of https://github.com/BOINC/boinc.git
update_versions: fix bug when have > 1 URLs for file
This commit is contained in:
parent
efa6f4e3d6
commit
2d99dccc2e
|
@ -89,7 +89,9 @@ function file_info_xml($fd) {
|
|||
if (is_array($fd->url)) {
|
||||
foreach ($fd->url as $url) {
|
||||
$xml .= " <url>$url</url>\n";
|
||||
$xml .= " <gzipped_url>$url.gz</gzipped_url>\n";
|
||||
if ($fd->gzip) {
|
||||
$xml .= " <gzipped_url>$url.gz</gzipped_url>\n";
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$xml .= " <url>$fd->url</url>\n";
|
||||
|
|
Loading…
Reference in New Issue