Skip to content

Commit fccf2d6

Browse files
committed
ACPT-1572: Slow saving of stores/websites
1 parent 001c3fa commit fccf2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Model/AbstractModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ public function getCacheTags()
828828
public function cleanModelCache()
829829
{
830830
$tags = $this->getCacheTags();
831-
if ($tags !== false) {
831+
if (!empty($tags)) {
832832
$this->_cacheManager->clean($tags);
833833
}
834834
return $this;

0 commit comments

Comments
 (0)