Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/deletion-links.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-18 20:12:17 +0100
committerErich Eckner <git@eckner.net>2019-02-18 20:12:17 +0100
commit4c6b074e85d7d8e97b9f125f5fbc2949bc8839dd (patch)
treeb1049ef75f830be56aa5dbba951872d794b11b2a /buildmaster/deletion-links.php
parent4376c50ded25fff8ab6c59c045522091b3eb038b (diff)
buildmaster/build-list-links.php,buildmaster/build-list.php,buildmaster/build-slaves.php,buildmaster/deletion-links.php,buildmaster/dependencies.php,buildmaster/log.php,buildmaster/mysql-issues.php,buildmaster/statistics.php,buildmaster/todos.php,lib/format.php,mirrors/index.php,packages/index.php: isset($_GET[$x]) -> array_key_exists($x, $_GET)
Diffstat (limited to 'buildmaster/deletion-links.php')
-rw-r--r--buildmaster/deletion-links.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/deletion-links.php b/buildmaster/deletion-links.php
index 6d21bda..f26208a 100644
--- a/buildmaster/deletion-links.php
+++ b/buildmaster/deletion-links.php
@@ -5,12 +5,12 @@ require_once BASE . "/lib/mysql.php";
$edges = "";
$knots = "";
-if (isset($_GET["show_all"]))
+if (array_key_exists("show_all", $_GET))
$available_filter = " LEFT";
else
$available_filter = "";
-if (isset($_GET["pkgname"]))
+if (array_key_exists("pkgname", $_GET))
$filter = " AND `binary_packages`.`pkgname` REGEXP from_base64(\"" . base64_encode($_GET["pkgname"]) . "\")";
else
$filter = "";