summaryrefslogtreecommitdiffstats
path: root/app/models/issue_priority.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue_priority.rb')
-rw-r--r--app/models/issue_priority.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_priority.rb b/app/models/issue_priority.rb
index 182235cb6..1e00cc01f 100644
--- a/app/models/issue_priority.rb
+++ b/app/models/issue_priority.rb
@@ -32,7 +32,7 @@ class IssuePriority < Enumeration
end
def transfer_relations(to)
- issues.update_all("priority_id = #{to.id}")
+ issues.update_all(:priority_id => to.id)
end
def css_classes