diff --git a/app/models/communication/website/with_abouts.rb b/app/models/communication/website/with_abouts.rb index 79bae2de7c73ba8329426f3b928024439fbbc74f..0f2a83d0601ca62954eae31f1f475ca58f4e1fb0 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!