I did some check and there is a solution: Open your friend.php in your libs folder and replace function get_friend_list2 with this:
PHP Code:
function get_friend_list_2()
{
// returns an array of people who have added you as a friend
global $db, $current_user;
$friends = $db->get_results("SELECT " . table_users . ".user_login, " . table_users . ".user_avatar_source, " . table_users . ".user_email, " . table_users . ".user_id , " .table_users . ".user_lastactivity , " . table_users . ".user_logged_in FROM " . table_friends . " INNER JOIN " . table_users . " ON " . table_friends . ".friend_from = " . table_users . ".user_id WHERE ((" . table_friends . ".friend_to)= " . $current_user->user_id . ")");
return $friends;
}
Hope it helps someone





Linear Mode

