1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-11 01:51:32 +00:00

Fixes wrong condition (#4179).

git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-06-07 20:21:47 +00:00
parent b674e80128
commit d3f93a2907

View File

@ -962,7 +962,7 @@ module ApplicationHelper
u = User.visible.where(:login => name, :type => 'User').first
link = link_to_user(u) if u
end
elsif "@"
elsif sep == "@"
name = remove_double_quotes(identifier)
u = User.visible.where(:login => name, :type => 'User').first
link = link_to_user(u) if u