From 2475c345182d21c7b267fb5fde3b7484da922ee5 Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Thu, 15 Dec 2022 10:00:10 -0500 Subject: [PATCH] ISTWCMS-5846: fixing undefined index on views admin page --- uw_cfg_common.module | 1 + 1 file changed, 1 insertion(+) diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 706db74a..9b3c85d1 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -48,6 +48,7 @@ function uw_cfg_common_preprocess_form_element_label(&$variables) { // the id of the label contains edit-field-uw and has // either summary or position in the id. if ( + isset($variables['element']['#id']) && $variables['element']['#id'] !== 'edit-field-uw-blank-summary-value' && str_contains($variables['element']['#id'], 'edit-field-uw-') && ( -- GitLab