Resolve variable name for isSmartBlock vs. isStaticSmartblock to avoid conflict

This commit is contained in:
Robbt 2018-01-08 18:45:14 -05:00
parent 325f99c169
commit b958aae77b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ $items = $this->contents;
$isStaticSmartBlock = ($this->obj instanceof Application_Model_Block && $this->obj->isStatic());
$isPlaylist = ($this->obj instanceof Application_Model_Playlist);
if (count($items) && ($isStaticSmartBlock || $isPlaylist)) : ?>
if (count($items) && ($isSmartBlock || $isPlaylist)) : ?>
<?php $i = 0; ?>
<?php foreach($items as $item) :
$staticBlock = null;