From d3f93a2907fb5fe42a17727102507dc1ad0ddbb3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 7 Jun 2017 20:21:47 +0000 Subject: [PATCH] Fixes wrong condition (#4179). git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5