Resolve variable name for isSmartBlock vs. isStaticSmartblock to avoid conflict

This commit is contained in:
Robbt 2018-01-08 18:45:27 -05:00
parent b958aae77b
commit 25066afb37

View file

@ -1,6 +1,6 @@
<?php
$items = $this->contents;
$isStaticSmartBlock = ($this->obj instanceof Application_Model_Block && $this->obj->isStatic());
$isSmartBlock = ($this->obj instanceof Application_Model_Block);
$isPlaylist = ($this->obj instanceof Application_Model_Playlist);
if (count($items) && ($isSmartBlock || $isPlaylist)) : ?>