Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Apr 23, 2024
1 parent fb46519 commit 643add3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/additionals/hooks/view_hook.rb
Expand Up @@ -26,7 +26,7 @@ class ViewHook < Redmine::Hook::ViewListener

def helper_issues_show_detail_after_setting(context = {})
detail = context[:detail]
return unless detail.prop_key == 'author_id'
return if detail.prop_key != 'author_id'

detail[:value] = find_name_by_reflection('author', detail.value) || detail.value
detail[:old_value] = find_name_by_reflection('author', detail.old_value) || detail.old_value
Expand Down

0 comments on commit 643add3

Please sign in to comment.