diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:46:42 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-11-26 17:46:42 +0000 |
commit | eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60 (patch) | |
tree | 41b259d5695a91d58866b266a437d54808b69bc4 /autobuild/results.php | |
parent | cc250dd8d25851ba0f53cfc3b944f0eb08335b95 (diff) | |
download | pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.gz pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.bz2 pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.tar.xz pkgsubmit-eb9fe9afbd8bd801f65b7ec826a7e75411fe3d60.zip |
Fix another warning
Diffstat (limited to 'autobuild/results.php')
-rw-r--r-- | autobuild/results.php | 2 |
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&include_success=true\">Include successful packages</a>"; |