index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-18 20:12:17 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-18 20:12:17 +0100 |
commit | 4c6b074e85d7d8e97b9f125f5fbc2949bc8839dd (patch) | |
tree | b1049ef75f830be56aa5dbba951872d794b11b2a /buildmaster/build-list.php | |
parent | 4376c50ded25fff8ab6c59c045522091b3eb038b (diff) |
-rw-r--r-- | buildmaster/build-list.php | 10 |
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index 79313e4..3184c20 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -7,10 +7,10 @@ require_once BASE . "/lib/style.php"; $filter = " WHERE "; -if (isset($_GET["invq"])) +if (array_key_exists("invq", $_GET)) $filter .= "NOT "; -if (isset($_GET["q"])) +if (array_key_exists("q", $_GET)) $filter .= "`ba_q`.`pkgbase` LIKE from_base64(\"".base64_encode("%".$_GET["q"]."%")."\")"; else $filter .= "1"; @@ -235,7 +235,7 @@ $columns = array( ) ); -if (!isset($_GET["sort"])) +if (!array_key_exists("sort", $_GET)) $_GET["sort"]="trials"; if (substr($_GET["sort"],0,1) == "-") { @@ -468,11 +468,11 @@ foreach ($multi_select_search_criteria as $criterium) { <div> <label for="id_q" title="Enter keywords as desired">Keywords</label> <input id="id_q" name="q" size="30" type="text" <?php -if (isset($_GET["q"])) +if (array_key_exists("q", $_GET)) print "value=\"".$_GET["q"]."\""; ?>/><br> <input id="id_invq" name="invq" type="checkbox" value="invq" title="list all non-matching package builds"<?php -if (isset($_GET["invq"])) +if (array_key_exists("invq", $_GET)) print " checked"; ?>> invert match |