Skip to content

Commit 16ab63b

Browse files
authored
Fix caching Product Metadata getVersion
1 parent 1ad65a3 commit 16ab63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/ProductMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function getVersion()
8585
} else {
8686
$this->version = 'UNKNOWN';
8787
}
88-
$this->cache->save($this->version, self::VERSION_CACHE_KEY, [Config::CACHE_TAG]);
8988
}
89+
$this->cache->save($this->version, self::VERSION_CACHE_KEY, [Config::CACHE_TAG]);
9090
}
9191
return $this->version;
9292
}

0 commit comments

Comments
 (0)