From 88a19cf02edd294cea73b4870dbc08c0e97d428b Mon Sep 17 00:00:00 2001 From: bach Date: Fri, 3 Feb 2023 15:53:23 +0100 Subject: [PATCH] fixing popsu.theme bug --- web/profiles/d8-starterkit-profile | 2 +- web/themes/custom/popsu/popsu.theme | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/profiles/d8-starterkit-profile b/web/profiles/d8-starterkit-profile index 5069345d..179aa994 160000 --- a/web/profiles/d8-starterkit-profile +++ b/web/profiles/d8-starterkit-profile @@ -1 +1 @@ -Subproject commit 5069345d9dffca8ff935d7a01d2bc97a1272f063 +Subproject commit 179aa994156fa9c986cf9eb9262872abb9c651a2 diff --git a/web/themes/custom/popsu/popsu.theme b/web/themes/custom/popsu/popsu.theme index 2ba50f1c..39653a52 100644 --- a/web/themes/custom/popsu/popsu.theme +++ b/web/themes/custom/popsu/popsu.theme @@ -69,7 +69,7 @@ function popsu_preprocess_field(&$variables){ foreach ($element["#items"]->getIterator() as $id => $item) { $nid = $item->getValue()['target_id']; $variables['items'][$id]['attributes']['class'] = new Attribute(); - $variables['items'][$id]['attributes']->addClass("programme-".$nid); + $variables['items'][$id]['attributes']['class']->addClass("programme-".$nid); } } }