Skip to content
Snippets Groups Projects
Commit d36772b9 authored by Demian Katz's avatar Demian Katz
Browse files

Avoid notice.

parent a8c39c0d
No related merge requests found
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</div> </div>
<div class="<?=$this->layoutClass('sidebar')?>"> <div class="<?=$this->layoutClass('sidebar')?>">
<? if (is_callable(array($activeTabObj, 'getSideRecommendations'))): ?> <? if (isset($activeTabObj) && is_callable(array($activeTabObj, 'getSideRecommendations'))): ?>
<? foreach ($activeTabObj->getSideRecommendations() as $current): ?> <? foreach ($activeTabObj->getSideRecommendations() as $current): ?>
<?=$this->recommend($current)?> <?=$this->recommend($current)?>
<? endforeach; ?> <? endforeach; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment