From: Jean-Philippe Lang Date: Wed, 7 Jun 2017 20:21:47 +0000 (+0000) Subject: Fixes wrong condition (#4179). X-Git-Tag: 3.4.0~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d3f93a2907fb5fe42a17727102507dc1ad0ddbb3;p=redmine.git Fixes wrong condition (#4179). git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2a5c6d05d..616356a07 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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