Commit 50f9e926 authored by Franz Liedke's avatar Franz Liedke

Fix fallback logic for automatic MR title assignment

parent 56a3f7b7
......@@ -162,7 +162,7 @@ module MergeRequests
def assign_title_from_issue
return unless issue
merge_request.title = "Resolve \"#{issue.title}\"" if issue.is_a?(Issue)
merge_request.title ||= "Resolve \"#{issue.title}\"" if issue.is_a?(Issue)
return if merge_request.title.present?
......
---
title: Fix fallback logic for automatic MR title assignment
merge_request: 20930
author: Franz Liedke
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment