diff --git a/home/inc/class.home_favorite_portlet.inc.php b/home/inc/class.home_favorite_portlet.inc.php index 28430ef450..3a2ff1361c 100644 --- a/home/inc/class.home_favorite_portlet.inc.php +++ b/home/inc/class.home_favorite_portlet.inc.php @@ -85,7 +85,7 @@ class home_favorite_portlet extends home_portlet } // Load and copy favorite - if($context['favorite']) + if($context['appname']) { $favorites = Framework\Favorites::get_favorites($context['appname']); }