From 0db566f03c167057da7fc9a3f9f4e06849a57395 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 6 Jan 2015 14:58:57 +0100 Subject: [PATCH] SONAR-6008 Fix display of My Profile page when user has no SCM account --- .../src/main/webapp/WEB-INF/app/views/account/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb index 1fdc9958569..b781aeb2740 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/index.html.erb @@ -29,7 +29,7 @@ <%= message('my_profile.scm_accounts') -%>: - <%= current_user.scm_accounts.split(',').reject { |c| c.empty? }.join(', ') %> + <%= current_user.scm_accounts.split(',').reject { |c| c.empty? }.join(', ') if current_user.scm_accounts %> -- 2.39.5