Skip to content

Commit 27d3b00

Browse files
authored
Update SetList.php
1 parent 5f303bd commit 27d3b00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Block/SetList.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@ public function getIdentities(): array
319319
{
320320
$identities = [];
321321

322-
$entity = $this->getLayer()->getCurrentAttributeSet();
323-
if ($entity) {
324-
$identities[] = CustomEntity::CACHE_CUSTOM_ENTITY_SET_TAG . '_' . $entity->getAttributeSetId();
322+
$set = $this->getLayer()->getCurrentAttributeSet();
323+
if ($set) {
324+
$identities[] = CustomEntity::CACHE_CUSTOM_ENTITY_SET_TAG . '_' . $set->getAttributeSetId();
325325
}
326326

327327
foreach ($this->_getEntityCollection() as $entity) {

0 commit comments

Comments
 (0)