Resolve variable name for isSmartBlock vs. isStaticSmartblock to avoid conflict
This commit is contained in:
parent
325f99c169
commit
b958aae77b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue