Skip to content

Commit

Permalink
Merge pull request firegento#3 from jeroenvermeulen/master
Browse files Browse the repository at this point in the history
Fix for HTTPS warnings.
  • Loading branch information
quafzi committed Jul 31, 2014
2 parents 22c4158 + 49f96c7 commit c414dcf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public function enableCmsBlockCaching($observer)
$cacheKeyData = array(
Mage_Cms_Model_Block::CACHE_TAG,
$block->getBlockId(),
Mage::app()->getStore()->getId()
Mage::app()->getStore()->getId(),
intval(Mage::app()->getStore()->isCurrentlySecure())
);
$block->setCacheKey(implode('_', $cacheKeyData));
$block->setCacheTags(array(Mage_Cms_Model_Block::CACHE_TAG));
Expand Down

0 comments on commit c414dcf

Please sign in to comment.