index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | mirrors/index.php | 2 |
diff --git a/mirrors/index.php b/mirrors/index.php index f0b7393..62e1668 100644 --- a/mirrors/index.php +++ b/mirrors/index.php @@ -52,7 +52,7 @@ $query = " GROUP BY `url`" . " ORDER BY "; -if (isset($_GET["sort"])) { +if (array_key_exists("sort", $_GET)) { if (isset($sorts[$_GET["sort"]]["mysql"])) $query .= $sorts[$_GET["sort"]]["mysql"] . ","; elseif (isset($sorts[substr($_GET["sort"],1)]["mysql"])) |