Browse Source

preprocess fix #2108

bach 10 months ago
parent
commit
b3ab8d02fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/themes/custom/popsu/popsu.theme

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