|
|
|
@ -137,7 +137,7 @@ class TwigExtension extends \Twig_Extension { |
|
|
|
// Preserve cache metadata of empty blocks. |
|
|
|
// Preserve cache metadata of empty blocks. |
|
|
|
$build = [ |
|
|
|
$build = [ |
|
|
|
'#markup' => '', |
|
|
|
'#markup' => '', |
|
|
|
'#cache' => $content['#cache'], |
|
|
|
'#cache' => isset($content['#cache']) ? $content['#cache'] : [], |
|
|
|
]; |
|
|
|
]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|