Skip to content
Snippets Groups Projects
Commit 9c577c13 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-6945: fix coding standards

parent 75a20982
No related branches found
No related tags found
1 merge request!132ISTWCMS-6945: fix getting the form id for label on details elements
......@@ -740,7 +740,7 @@ function uw_fdsu_theme_resp_preprocess_details(&$variables) {
if (isset($variables['element'][0]['#attributes']['data-drupal-selector'])) {
$variables['form_field_id'] = $variables['element'][0]['#attributes']['data-drupal-selector'];
}
else if (isset($variables['element']['#attributes']['data-drupal-selector'])) {
elseif (isset($variables['element']['#attributes']['data-drupal-selector'])) {
$variables['form_field_id'] = $variables['element']['#attributes']['data-drupal-selector'];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment