From: Simon Brandhof Date: Mon, 1 Sep 2014 11:40:25 +0000 (+0200) Subject: SONAR-5546 fix typo in ruby code X-Git-Tag: 4.5-RC1~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cb005882b404e49ea7f2a5a9c7f06c3c9f7038b2;p=sonarqube.git SONAR-5546 fix typo in ruby code --- 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'