Fixed syntax error.

This commit is contained in:
Martin Edenhofer 2012-04-23 08:53:39 +02:00
parent 23f350df0f
commit 81a5e0537d

View file

@ -454,7 +454,7 @@ class TicketOverviewsController < ApplicationController
users = [] users = []
user_all.each do |user| user_all.each do |user|
realname = user.firstname.to_s + ' ' + user.lastname.to_s realname = user.firstname.to_s + ' ' + user.lastname.to_s
if !user.email.empty? if user.email
realname = realname + ' <' + user.email.to_s + '>' realname = realname + ' <' + user.email.to_s + '>'
end end
a = { :id => user.id, :label => realname, :value => realname } a = { :id => user.id, :label => realname, :value => realname }