Browse Source

preprocess fix #2108

bach 11 tháng trước cách đây
mục cha
commit
b3ab8d02fd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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(),