diff --git a/web/themes/asc_bootstrap/asc_bootstrap.theme b/web/themes/asc_bootstrap/asc_bootstrap.theme index 139a7615cff9f0e1371d4ca4f90113f0a12d9b44..4a5d852bc90064ff430d5b57ba1a201347f851ab 100755 --- a/web/themes/asc_bootstrap/asc_bootstrap.theme +++ b/web/themes/asc_bootstrap/asc_bootstrap.theme @@ -415,18 +415,18 @@ function asc_bootstrap_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $ $form['combine']['#weight'] = 1; $form['field_appointment_target_id']['#weight'] = 3; $form['field_research_interests_target_id']['#weight'] = 4; - } - if(count($form['field_appointment_target_id']['#options']) == 0) { - $form['field_appointment_target_id']['#access'] = FALSE; - } + if(count($form['field_appointment_target_id']['#options']) == 0) { + $form['field_appointment_target_id']['#access'] = FALSE; + } - if(count($form['field_research_interests_target_id']['#options']) == 0) { - $form['field_research_interests_target_id']['#access'] = FALSE; - } + if(count($form['field_research_interests_target_id']['#options']) == 0) { + $form['field_research_interests_target_id']['#access'] = FALSE; + } - if(count($form['field_other_target_id']['#options']) == 0) { - $form['field_other_target_id']['#access'] = FALSE; + if(count($form['field_other_target_id']['#options']) == 0) { + $form['field_other_target_id']['#access'] = FALSE; + } } }