소스 검색

php notice fix in materio_decoupled

Bachir Soussi Chiadmi 4 년 전
부모
커밋
cdd3bf1ea3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      web/modules/custom/materio_decoupled/materio_decoupled.module

+ 1 - 0
web/modules/custom/materio_decoupled/materio_decoupled.module

@@ -36,6 +36,7 @@ function materio_decoupled_page_attachments(array &$attachments) {
   $entity_type = null;
   $entity_bundle = null;
   $entity_id = null;
+  $entity_uuid = null;
   foreach (['node', 'taxonomy_term'] as $type) {
     $entity = \Drupal::routeMatch()->getParameter($type);
     if($entity){