]> source.dussan.org Git - redmine.git/commitdiff
Fixes wrong condition (#4179).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 7 Jun 2017 20:21:47 +0000 (20:21 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 7 Jun 2017 20:21:47 +0000 (20:21 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 2a5c6d05d3a5f6d70e94c4476994276246b5ddf5..616356a071cd52f009e6ec1690d18ea006162c53 100644 (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