Require >1 judge div grouping

This commit is contained in:
james 2007-03-29 20:33:45 +00:00
parent e2ee104434
commit 97c2b65a93

View File

@ -92,10 +92,10 @@ if($config['judge_scheduler_percent']=="-1")
echo "</td></tr></table>";
$jdivs = judges_scheduler_check_jdivs();
if($jdivs > 0) {
if($jdivs > 1) {
echo happy(i18n("There are %1 divisional groups defined for divisional judging, good", array($jdivs)));
} else {
echo error(i18n("There are no divisional groups defined for divisional judging"));
echo error(i18n("There is not more than 1 divisional groups defined for divisional judging. Please assign ALL categories/divisions/languages to judging groupings before continuing"));
$ok = 0;
}