summaryrefslogtreecommitdiffstats
path: root/autobuild/results.php
diff options
context:
space:
mode:
Diffstat (limited to 'autobuild/results.php')
-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>";