diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-15 10:55:45 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-15 11:27:33 -0700 |
commit | d3fa9c9539aac42844a297a99ef56254ce1c06a3 (patch) | |
tree | ba94fe9d979a003585ede0c8f499030c731fa3f1 /tmp | |
parent | 1a50801cd0801d3134b41e96ff2a6b27a96a1047 (diff) | |
download | gitlab-ce-d3fa9c9539aac42844a297a99ef56254ce1c06a3.tar.gz |
Fix remove_source_branch merge request API handlingsh-fix-merge-requests-api-remove-branch-param
Users attempting to set merge requests to `remove_source_branch` to
`false` would encounter an Error 500 because the UpdateService and API
checked `present?`, which would always return `false`. We now just
use `has_key?` to decide whether the parameter is present.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60530
Diffstat (limited to 'tmp')
0 files changed, 0 insertions, 0 deletions