Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/todos.php
diff options
context:
space:
mode:
Diffstat (limited to 'buildmaster/todos.php')
-rw-r--r--buildmaster/todos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/todos.php b/buildmaster/todos.php
index bf77f08..3528def 100644
--- a/buildmaster/todos.php
+++ b/buildmaster/todos.php
@@ -13,7 +13,7 @@ $result = mysql_run_query(
"FROM `todos`;"
);
-if (isset($_GET["graph"])) {
+if (array_key_exists("graph", $_GET)) {
if ($result -> num_rows > 0) {
@@ -64,7 +64,7 @@ if (isset($_GET["graph"])) {
"timeout 30 dot -Tpng -o/dev/stdout /dev/stdin"
);
-} else { // isset($_GET["graph"])
+} else { // array_key_exists("graph", $_GET)
if ($result -> num_rows > 0) {