mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Home: Avoid "Illegal offset type" if somehow favorite was not set
This commit is contained in:
parent
cdb0998bee
commit
005686b469
@ -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']);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user