From 16ab63b347dd4628ed1cc1947929ff44b6bad90c Mon Sep 17 00:00:00 2001 From: Lukasz Lewandowski Date: Wed, 11 Dec 2019 15:25:39 -0600 Subject: [PATCH] Fix caching Product Metadata getVersion --- App/ProductMetadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/ProductMetadata.php b/App/ProductMetadata.php index 052119713294..8f989351743d 100644 --- a/App/ProductMetadata.php +++ b/App/ProductMetadata.php @@ -85,8 +85,8 @@ public function getVersion() } else { $this->version = 'UNKNOWN'; } - $this->cache->save($this->version, self::VERSION_CACHE_KEY, [Config::CACHE_TAG]); } + $this->cache->save($this->version, self::VERSION_CACHE_KEY, [Config::CACHE_TAG]); } return $this->version; }