Commit 0e5b4448 authored by Gary Holtz's avatar Gary Holtz

Quick fix for commit message presence

parent b58af356
......@@ -14,7 +14,7 @@ module Gitlab
def message
project = suggestion_set.project
user_defined_message = @custom_message || project.suggestion_commit_message.presence
user_defined_message = @custom_message.presence || project.suggestion_commit_message.presence
message = user_defined_message || DEFAULT_SUGGESTION_COMMIT_MESSAGE
Gitlab::StringPlaceholderReplacer
......
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