Skip to content

Fix Compare page throws 500 error when any branch/reference is not selected

What does this MR do?

It fixes the error documented in this URL: https://gitlab.com/gitlab-org/gitlab-ce/issues/25814

Are there points in the code the reviewer needs to double check?

No

Why was this MR needed?

It was a listed Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/25814

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/25814

Merge request reports