summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/issue.rb')
-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 f5ff3fc08..a06378a5b 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -819,7 +819,7 @@ class Issue < ActiveRecord::Base
# Returns a string of css classes that apply to the issue
def css_classes
- s = "issue status-#{status_id} priority-#{priority.position}"
+ s = "issue status-#{status_id} priority-#{priority_id}"
s << ' closed' if closed?
s << ' overdue' if overdue?
s << ' child' if child?