From 005686b469583dfce1f48ad41514b3e1adbca178 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 16 Mar 2023 08:45:33 -0600 Subject: [PATCH] Home: Avoid "Illegal offset type" if somehow favorite was not set --- home/inc/class.home_favorite_portlet.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }