Add grade to participant required fields

This commit is contained in:
james 2011-02-02 23:19:15 +00:00
parent ebc7d7ad1d
commit 221213e1d8

View File

@ -401,7 +401,7 @@ function user_role_field_required($role, $fieldname){
$returnval = 0; $returnval = 0;
$requiredFields = array( $requiredFields = array(
'judge' => array('years_school','years_regional','years_national','languages'), 'judge' => array('years_school','years_regional','years_national','languages'),
'participant' => array('schools_id'), 'participant' => array('grade','schools_id'),
'fair' => array('fairs_id'), 'fair' => array('fairs_id'),
'sponsor' => array('sponsors_id','primary','position'), 'sponsor' => array('sponsors_id','primary','position'),
'volunteer' => array('languages') 'volunteer' => array('languages')