Skip to content

Commit 408c514

Browse files
AC-6897 template caching improvements
1 parent 15a05f8 commit 408c514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public function blockDirective($construction)
410410
$skipParams = ['class', 'id', 'output'];
411411
$blockParameters = $this->getParameters($construction[2]);
412412

413-
if ($blockParameters['cache_key']) {
413+
if (isset($blockParameters['cache_key'])) {
414414
$blockParameters['cache_key'] = self::CACHE_KEY_PREFIX . $blockParameters['cache_key'];
415415
}
416416

0 commit comments

Comments
 (0)