]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5546 Fail to display changelog of Quality Profile
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 28 Aug 2014 20:01:00 +0000 (22:01 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 28 Aug 2014 20:01:00 +0000 (22:01 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/views/profiles/changelog.html.erb

index ce962dbc83f6f4dff4ee1700f02bdcdfd01720b1..0cdc4add2219b7c4c68c12ea1b0b7c0c60af6e61 100644 (file)
@@ -33,7 +33,7 @@
           <%
              action = change.action()
              action_message = message('quality_profiles.changelog.' + action.downcase) if action
-             author = change.authorName() ? change.authorName() : change.login() ? !change.login().emtpy? : 'System'
+             author = change.authorName() ? change.authorName() : change.login() ? !change.login().empty? : 'System'
              rule = change.ruleName() ? change.ruleName() : change.ruleKey()
           %>
           <td valign="top" width="1%" nowrap><%= Internal.i18n.formatDateTime(change.time()) -%></td>