Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/build-list.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-29 10:49:36 +0100
committerErich Eckner <git@eckner.net>2018-11-29 10:49:36 +0100
commitfa837467a0a87c20de069e55850ef48bff53a114 (patch)
tree1a5891ce615711099373322bb8dec9a31adaabf9 /buildmaster/build-list.php
parent88872be0dea540849dce516e3848a7637507841c (diff)
buildmaster/build-list.php: silence warning
Diffstat (limited to 'buildmaster/build-list.php')
-rw-r--r--buildmaster/build-list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php
index af8f9f8..b69673f 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -496,7 +496,7 @@ foreach ($single_select_search_criteria as $criterium) {
if ($label != "All")
print $label;
print "\"";
- if ($_GET[$criterium["name"]]==$label)
+ if (array_key_exists($criterium["name"],$_GET) && ($_GET[$criterium["name"]]==$label))
print " selected=\"selected\"";
print ">" . $label . "</option>\n";
}