From a7a4a6a6be2ec1941ed0e39476af93b9b529cf2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Mon, 17 Jan 2022 14:50:46 +0100 Subject: [PATCH] fix --- app/models/communication/website/with_abouts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/communication/website/with_abouts.rb b/app/models/communication/website/with_abouts.rb index 79bae2de7..0f2a83d06 100644 --- a/app/models/communication/website/with_abouts.rb +++ b/app/models/communication/website/with_abouts.rb @@ -65,8 +65,8 @@ module Communication::Website::WithAbouts people += research_articles.collect(&:researchers).flatten people += research_articles.collect(&:researchers).flatten.map(&:researcher) end + people.uniq.compact end - people.uniq.compact end def set_programs_categories! -- GitLab