summaryrefslogtreecommitdiff
path: root/mirrors/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/index.php')
-rw-r--r--mirrors/index.php2
1 files changed, 1 insertions, 1 deletions
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"]))