Project

General

Profile

Feature #104590

Updated by Marcus Förster 3 months ago

<pre><code class="diff"> 
 --- vendor/typo3/cms-core/Classes/Service/MarkerBasedTemplateService.bak 	 2024-08-11 20:52:35.812856063 +0200 
 +++ vendor/typo3/cms-core/Classes/Service/MarkerBasedTemplateService.php 	 2024-08-11 20:52:35.812856063 +0200 
 @@ -208,6 +208,9 @@ 
              $search = []; 
              $replace = []; 
              foreach ($markContentArray as $marker => $markContent) { 
 +                  if (is_array($markContent)) (is_array($markContent) { 
 +                      continue; 
 +                  } 
 </code></pre> 
 *expl.* 
 <pre> 
   sourceCollection { 
     UHD8 { 
       dataKey = UHD8 
       width     = 7680 
       mediaQuery = (max-width: 7680px),(max-width: 3840px) and (min-resolution: 2dppx) 
       if.isLessThan.data = field:width // file:current:width 
       if.value < .width 
       if.negate = 1 
     } 
 </pre>

Back