From 9da8a181d145393ec55f397befbbbf930b1bb512 Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Tue, 16 Jul 2024 13:19:22 -0400
Subject: [PATCH] ISTWCMS-6944: fix coding standards

---
 uw_fdsu_theme_resp.theme | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme
index 54528e98..e00f0753 100644
--- a/uw_fdsu_theme_resp.theme
+++ b/uw_fdsu_theme_resp.theme
@@ -760,7 +760,8 @@ function uw_fdsu_theme_resp_preprocess_details(&$variables) {
               // is by itself or within the attributes.
               if (isset($variables['element'][$index]['#id'])) {
                 $variables['form_field_id'] = $variables['element'][$index]['#id'];
-              } elseif (isset($variables['element'][$index]['#attributes']['id'])) {
+              }
+              elseif (isset($variables['element'][$index]['#attributes']['id'])) {
                 $variables['form_field_id'] = $variables['element'][$index]['#attributes']['id'];
               }
 
-- 
GitLab