# HG changeset patch # User luisf # Date 1357662282 0 # Node ID 7d772d053cffccffd48cd11246cfc791d34880a4 # Parent 807426fa6017cfac9f0de9110415a3cd45e3c1d1 Fixed if/else statement syntax error. diff -r 807426fa6017 -r 7d772d053cff plugins/redmine_bibliography/app/helpers/publications_helper.rb --- 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}"]