We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9691d commit 0b47c71Copy full SHA for 0b47c71
lib/internal/Magento/Framework/View/Element/AbstractBlock.php
@@ -1044,7 +1044,7 @@ protected function _loadCache()
1044
*/
1045
protected function _saveCache($data)
1046
{
1047
- if ($this->getCacheLifetime() === null || !$this->_cacheState->isEnabled(self::CACHE_GROUP)) {
+ if (!$this->getCacheLifetime() || !$this->_cacheState->isEnabled(self::CACHE_GROUP)) {
1048
return false;
1049
}
1050
$cacheKey = $this->getCacheKey();
0 commit comments