We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61d4d1 commit a4b76acCopy full SHA for a4b76ac
1 file changed
Classes/Aspects/ContentCacheAspect.php
@@ -46,7 +46,7 @@ public function interceptNodeCacheFlush(JoinPointInterface $joinPoint)
46
$object = $joinPoint->getProxy();
47
48
$tags = ObjectAccess::getProperty($object, 'tagsToFlush', true);
49
- $tags = array_map([$this, 'sanitizeTag'],$tags);
+ $tags = array_map([$this, 'sanitizeTag'], array_keys($tags));
50
$this->cacheFrontend->flushByTags($tags);
51
}
52
0 commit comments