From fa837467a0a87c20de069e55850ef48bff53a114 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 29 Nov 2018 10:49:36 +0100 Subject: buildmaster/build-list.php: silence warning --- buildmaster/build-list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildmaster') 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 . "\n"; } -- cgit v1.2.3-70-g09d2