index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-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 |