diff --git a/admin/judges_schedulerconfig_check.inc.php b/admin/judges_schedulerconfig_check.inc.php
index 6daac02f..3b03f0d0 100644
--- a/admin/judges_schedulerconfig_check.inc.php
+++ b/admin/judges_schedulerconfig_check.inc.php
@@ -139,9 +139,12 @@ function judges_scheduler_check_judges()
echo "Maximum number of judges acceptable: $maxjudges";
echo "
";
- $jq=mysql_query("SELECT COUNT(judges.id) AS num FROM judges,judges_years WHERE complete='yes' AND deleted='no' AND judges_years.year='{$config['FAIRYEAR']}' AND judges_years.judges_id=judges.id");
+/* $jq=mysql_query("SELECT COUNT(judges.id) AS num FROM judges,judges_years WHERE complete='yes' AND deleted='no' AND judges_years.year='{$config['FAIRYEAR']}' AND judges_years.judges_id=judges.id");
$jr=mysql_fetch_object($jq);
- $currentjudges=$jr->num;
+ $currentjudges=$jr->num;*/
+ /* FIXME: this his highly inefficient :), but won't be done very often */
+ $judges = judges_load_all();
+ $currentjudges = count($judges);
echo "Current number of registered judges: $currentjudges";
echo "
";
echo "
";