summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-19 13:57:06 +0100
committerErich Eckner <git@eckner.net>2019-03-19 13:57:06 +0100
commit748e207978b69f854f7c69c9d4981b4b20b55856 (patch)
tree452f3cb485400d17c4b5de088e61014262546c3e
parentd5313eb726177e33ed11dae03589da283fca11f6 (diff)
downloadarchweb32-748e207978b69f854f7c69c9d4981b4b20b55856.tar.xz
buildmaster/build-list.php: isset -> array_key_exists
-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 3184c20..0e178d1 100644
--- a/buildmaster/build-list.php
+++ b/buildmaster/build-list.php
@@ -60,7 +60,7 @@ foreach ( $multi_select_search_criteria as $criterium => $content ) {
}
foreach ( $multi_select_search_criteria as $criterium ) {
- if (isset($_GET[$criterium["name"]])) {
+ if (array_key_exists($criterium['name'], $_GET)) {
$filter .= " AND " . $criterium["query_pre"];
foreach ($criterium["values"] as $value)
if (strpos("&" . $_SERVER["QUERY_STRING"] . "&", "&" . $criterium["name"] . "=" . urlencode($value) . "&") !== false)