diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 14:40:27 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 14:40:27 +0300 |
commit | dfc8281162a42d51791cf04e04ace8011b9f80e9 (patch) | |
tree | b2e185e2aaf3538de5ce58109be6bef0359c8fdf | |
parent | 8cdfa86b578a27feefe2c30f28eb3f46afbb8201 (diff) | |
download | gitlab-ce-dfc8281162a42d51791cf04e04ace8011b9f80e9.tar.gz |
Fix issues 500 if milestone id exists but milestone is not
-rw-r--r-- | app/views/issues/_issue.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_issue.html.haml b/app/views/issues/_issue.html.haml index f44c0a6c81f..0f3c4f752eb 100644 --- a/app/views/issues/_issue.html.haml +++ b/app/views/issues/_issue.html.haml @@ -18,7 +18,7 @@ %span %i.icon-comments = issue.notes.count - - if issue.milestone_id? + - if issue.milestone %span %i.icon-time = issue.milestone.title |