From cb005882b404e49ea7f2a5a9c7f06c3c9f7038b2 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 1 Sep 2014 13:40:25 +0200 Subject: [PATCH] SONAR-5546 fix typo in ruby code --- .../main/webapp/WEB-INF/app/views/profiles/changelog.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb index e1adef9536b..db0a95e8e50 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb @@ -34,9 +34,9 @@ action = change.action() action_message = message('quality_profiles.changelog.' + action.downcase) if action - if change.authorName() && !change.authorName().empty() + if change.authorName() && !change.authorName().empty?() author = change.authorName() - elsif change.login() && !change.login().empty() + elsif change.login() && !change.login().empty?() author = change.login() else author = 'System' -- 2.39.5