Skip to content
Snippets Groups Projects
Commit e493e2ad authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'topic/fix_mr_reload_error' into '6-6-stable'

Fix reopened merge request's code reload


Former-commit-id: 83eb5f32531b25cefa2e8541b6735a2810a52481
parents ef01ee4a 59c8afae
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -133,7 +133,7 @@ class MergeRequest < ActiveRecord::Base
end
 
def reload_code
if merge_request_diff && opened?
if merge_request_diff && open?
merge_request_diff.reload_content
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment