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(),