From 00e269757cb88f82228a5bb0613d5ff43c97365d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 18 Jul 2024 14:58:46 -0700 Subject: [PATCH] fix friend list display on user home page --- html/inc/user.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/inc/user.inc b/html/inc/user.inc index 777aea8062..8cf35608d3 100644 --- a/html/inc/user.inc +++ b/html/inc/user.inc @@ -575,11 +575,11 @@ function community_links($clo, $logged_in_user){ } if ($friends) { - $x = ''; + $x = []; foreach($friends as $friend) { - $x .= friend_links($friend); + $x[] = friend_links($friend); } - row2(tra('Friends'), $x); + row2(tra('Friends'), implode('
', $x)); } }