forked from science-ation/science-ation
Require >1 judge div grouping
This commit is contained in:
parent
e2ee104434
commit
97c2b65a93
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user