Skip to content

Commit a4b76ac

Browse files
authored
BUGFIX: Use actual tags and not log messages to flush
1 parent e61d4d1 commit a4b76ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Aspects/ContentCacheAspect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function interceptNodeCacheFlush(JoinPointInterface $joinPoint)
4646
$object = $joinPoint->getProxy();
4747

4848
$tags = ObjectAccess::getProperty($object, 'tagsToFlush', true);
49-
$tags = array_map([$this, 'sanitizeTag'],$tags);
49+
$tags = array_map([$this, 'sanitizeTag'], array_keys($tags));
5050
$this->cacheFrontend->flushByTags($tags);
5151
}
5252

0 commit comments

Comments
 (0)