]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5546 fix typo in ruby code
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 1 Sep 2014 11:40:25 +0000 (13:40 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 1 Sep 2014 11:40:25 +0000 (13:40 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb

index e1adef9536b61db7e08b6e33beb2db4090e2c3ba..db0a95e8e50a5d6b940a115eb0ed7478968bcb83 100644 (file)
@@ -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'