@@ -703,7 +703,7 module ApplicationHelper | |||
|
703 | 703 | oid = identifier.to_i |
|
704 | 704 | case prefix |
|
705 | 705 | when nil |
|
706 | if issue = Issue.visible.find_by_id(oid, :include => :status) | |
|
706 | if oid.to_s == identifier && issue = Issue.visible.find_by_id(oid, :include => :status) | |
|
707 | 707 | anchor = comment_id ? "note-#{comment_id}" : nil |
|
708 | 708 | link = link_to("##{oid}", {:only_path => only_path, :controller => 'issues', :action => 'show', :id => oid, :anchor => anchor}, |
|
709 | 709 | :class => issue.css_classes, |
General Comments 0
You need to be logged in to leave comments.
Login now