Skip to content

Commit

Permalink
Patch for #81099
Browse files Browse the repository at this point in the history
  • Loading branch information
fwg committed Aug 22, 2023
1 parent 41ece65 commit 3717ca7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion typo3/sysext/fluid/Classes/View/TemplatePaths.php
Expand Up @@ -100,7 +100,9 @@ protected function getContextSpecificViewConfiguration(string $extensionKey): ar

foreach ($paths as $name => $defaultPaths) {
if (!empty($configuredPaths[$name])) {
$paths[$name] = array_merge($defaultPaths, ArrayUtility::sortArrayWithIntegerKeys((array)$configuredPaths[$name]));
$configured = ArrayUtility::sortArrayWithIntegerKeys((array)$configuredPaths[$name]);
// prepend default paths which are not found in configured paths, as fallbacks
$paths[$name] = array_merge(array_diff($defaultPaths, $configured), $configured);
}
}

Expand Down

0 comments on commit 3717ca7

Please sign in to comment.