summaryrefslogtreecommitdiffstats
path: root/autobuild
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-11-26 17:46:42 +0000
committerPascal Terjan <pterjan@mageia.org>2020-11-26 17:46:42 +0000
commiteb9fe9afbd8bd801f65b7ec826a7e75411fe3d60 (patch)
tree41b259d5695a91d58866b266a437d54808b69bc4 /autobuild
parentcc250dd8d25851ba0f53cfc3b944f0eb08335b95 (diff)
downloadpkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar
pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.gz
pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.bz2
pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.xz
pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.zip
Fix another warning
Diffstat (limited to 'autobuild')
-rw-r--r--autobuild/results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild/results.php b/autobuild/results.php
index f841cd0..3d1ff7c 100644
--- a/autobuild/results.php
+++ b/autobuild/results.php
@@ -228,7 +228,7 @@ foreach ($runs as $r) {
echo "<option value='$r'$selected>$r$in_progress</option>";
}
echo "</select></form>";
-if ($_GET['include_success'] === 'true') {
+if (array_key_exists('include_success', $_GET) && $_GET['include_success'] === 'true') {
echo "<a href=\"" . $_SERVER["PHP_SELF"] . "?run=$run\">Only failures</a>";
} else {
echo "<a href=\"" . $_SERVER["PHP_SELF"] . "?run=$run&amp;include_success=true\">Include successful packages</a>";