diff --git a/templates/user/_layout/header.twig b/templates/user/_layout/header.twig index 6efd00d9..079019b6 100644 --- a/templates/user/_layout/header.twig +++ b/templates/user/_layout/header.twig @@ -44,7 +44,7 @@ - {% if friend_info is defined and (friend_info.subject_relation is not null or friend_info.user_relation is not null) %} + {% if friend_info|length > 0 and (friend_info.subject_relation is not null or friend_info.user_relation is not null) %}