Project

General

Profile

Actions

Feature #104590

open

`substituteMarkerArray` should ignore `(array)`

Added by Marcus Förster 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
Start date:
2024-08-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

--- 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)) {
+                    continue;
+                }

expl.
  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
    }
Actions

Also available in: Atom PDF