diff options
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d708019c9..2db6ce7ee 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -655,7 +655,7 @@ module ApplicationHelper content_tag( 'label', check_box_tag(name, principal.id, false, :id => nil) + - (avatar(principal, :size => 16).presence || + ((avatar(principal, :size => 16).presence if principal.is_a?(User)) || content_tag( 'span', principal_icon(principal), :class => "name icon icon-#{principal.class.name.downcase}" |