# HG changeset patch # User luisf # Date 1380635884 -3600 # Node ID 8e2e4557fa7579d1697915ff6a62a60eae02dd42 # Parent 07444815c0bdb606f26937c7333423ad236403e9 Converting author/user ids to integers when calling link_to helpers. diff -r 07444815c0bd -r 8e2e4557fa75 plugins/redmine_bibliography/app/helpers/publications_helper.rb --- a/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Oct 01 14:39:12 2013 +0100 +++ b/plugins/redmine_bibliography/app/helpers/publications_helper.rb Tue Oct 01 14:58:04 2013 +0100 @@ -134,9 +134,9 @@ s= "" if link_class == "Author" - s << link_to_author(Author.find(link_id), {}, :class => 'author_link') + s << link_to_author(Author.find(link_id.to_i)) else - s << link_to_user(User.find(link_id), :class => 'publication_project') + s << link_to_user(User.find(link_id.to_i)) end s.html_safe