From d449b74c2c34458e82e04ef02f44c556e00d6d84 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 27 Jun 2023 17:10:12 +0200 Subject: [PATCH] preprocess fix #2108 --- web/themes/custom/popsu/popsu.theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/popsu/popsu.theme b/web/themes/custom/popsu/popsu.theme index 83e147f2..d9329a76 100644 --- a/web/themes/custom/popsu/popsu.theme +++ b/web/themes/custom/popsu/popsu.theme @@ -213,7 +213,7 @@ function popsu_preprocess_views_view_field(&$variables){ ] ]; - }else{ + }else if ($entity->getType === 'programme') { // build new classes $new_classes = array( $entity->getEntityTypeId(),