diff --git a/manage/mirrors.php b/manage/mirrors.php index 2119a86..ad4ad80 100644 --- a/manage/mirrors.php +++ b/manage/mirrors.php @@ -37,7 +37,7 @@ $has_stats = isset($has_stats) ? 1 : 0; $moreinfo = empty($_GET['mi']) ? 0 : 1; -$mirrortype = (int)$mirrortype; +$mirrortype = isset($mirrortype) ? (int)$mirrortype : 0; // Select last mirror check time from table $lct = db_query("SELECT UNIX_TIMESTAMP(lastchecked) FROM mirrors ORDER BY lastchecked DESC LIMIT 1");