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:
Diffstat (limited to 'buildmaster/build-list.php')
-rw-r--r--buildmaster/build-list.php10
1 files changed, 5 insertions, 5 deletions
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