summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2021-07-05 09:32:39 +0000
committerPascal Terjan <pterjan@mageia.org>2021-07-05 09:32:39 +0000
commit3fc10000799ffcbfda18716425a4af4ad7abae2a (patch)
treec79f831f8eac9df1fc4f3d5d7bb0e4a1ede61275
parenteb9fe9afbd8bd801f65b7ec826a7e75411fe3d60 (diff)
downloadpkgsubmit-3fc10000799ffcbfda18716425a4af4ad7abae2a.tar
pkgsubmit-3fc10000799ffcbfda18716425a4af4ad7abae2a.tar.gz
pkgsubmit-3fc10000799ffcbfda18716425a4af4ad7abae2a.tar.bz2
pkgsubmit-3fc10000799ffcbfda18716425a4af4ad7abae2a.tar.xz
pkgsubmit-3fc10000799ffcbfda18716425a4af4ad7abae2a.zip
Replace 'latest' with its date
This fixes fetching attributes and avoid 1 warning per package
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index 3d1ff7c..e9f5541 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -41,7 +41,7 @@ foreach ($latestlinks as $link) {
}
$run = $_GET['run'];
-if (!$run) {
+if (!$run || $run=="latest") {
$run = $latest;
}