Skip to content

Commit

Permalink
Remove safe navigation operator
Browse files Browse the repository at this point in the history
support for Ruby < 2.3.0
  • Loading branch information
Lobster committed Sep 2, 2019
1 parent 58c8586 commit 61ace37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/redmine_zulip/issue_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def init_issue_subject
assigned_to_label: Issue.human_attribute_name(:assigned_to, locale: locale),
assigned_to: assigned_to || "-",
status_label: Issue.human_attribute_name(:status, locale: locale),
status: status&.name
status: status.nil? ? nil : status.name
})
if fixed_version.present?
version_label = Issue.human_attribute_name(:fixed_version, locale: locale)
Expand Down

0 comments on commit 61ace37

Please sign in to comment.