index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | buildmaster/todos.php | 4 |
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) { |