Mercurial > hg > soundsoftware-site
changeset 1125:7d772d053cff redmine-2.2-integration
Fixed if/else statement syntax error.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 Jan 2013 16:24:42 +0000 |
parents | 807426fa6017 |
children | e65c02706f1c |
files | plugins/redmine_bibliography/app/helpers/publications_helper.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Jan 08 16:22:05 2013 +0000 +++ b/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Jan 08 16:24:42 2013 +0000 @@ -29,7 +29,7 @@ @author_options = [] @results.each do |result| email_bit = result.mail.partition('@')[2] - if email_bit != "": + if email_bit != "" email_bit = "(@#{email_bit})" end @author_options << ["#{result.name} #{email_bit}", "#{result.class.to_s}_#{result.id.to_s}"]