diff --git a/phpgwapi/inc/class.egw_favorites.inc.php b/phpgwapi/inc/class.egw_favorites.inc.php index ac0d0cd927..455fbe2abd 100644 --- a/phpgwapi/inc/class.egw_favorites.inc.php +++ b/phpgwapi/inc/class.egw_favorites.inc.php @@ -169,7 +169,7 @@ class egw_favorites $favorites[(string)substr($pref_name,strlen($pref_prefix))] = $pref; } } - if (is_array($sorted_list)) + if (is_array($fav_sort_pref)) { foreach ($fav_sort_pref as $key) {