소스 검색

preprocess fix #2108

bach 1 년 전
부모
커밋
d449b74c2c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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(),