# HG changeset patch # User Chris Cannam # Date 1316512663 -3600 # Node ID 7fd36e4a99a1ff8902adeba857bf03fee1f54469 # Parent 065041087084cf9984f964ae3554c26025ff42d9# Parent 37e39e437b2c30e83598befa496dc6133483c46a Merge from branch live diff -r 065041087084 -r 7fd36e4a99a1 vendor/plugins/redmine_bibliography/app/views/users/show.rhtml --- a/vendor/plugins/redmine_bibliography/app/views/users/show.rhtml Mon Sep 19 17:51:17 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/users/show.rhtml Tue Sep 20 10:57:43 2011 +0100 @@ -43,6 +43,7 @@
+ <% if @user.author %>
<% @publications = Publication.all(:include => :authors, :conditions => "authors.id = #{@user.author.id}") %> @@ -65,7 +66,7 @@ <% end %>
- + <% end %> <% unless @events_by_day.empty? %>