Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJuliette de Rancourt <derancourt.juliette@gmail.com>2019-08-30 09:16:01 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2019-08-30 09:16:01 +0300
commit8501e13bbc5f423b90c0ebbf20da90801a6fa410 (patch)
tree5843dd67539c2e37029c1f18894879c9da13b4ad /app
parent770a15b0217a7449da381b6adb5b1dd378903e79 (diff)
Resolve "Use "moved" instead of "closed" in issue references"
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index caea8eadd18..75d4fc8c1c5 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -178,7 +178,7 @@ class Issue < ApplicationRecord
end
def moved?
- !moved_to.nil?
+ !moved_to_id.nil?
end
def can_move?(user, to_project = nil)