changeset 709:7fd36e4a99a1 feature_36

Merge from branch live
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 20 Sep 2011 10:57:43 +0100
parents 065041087084 (current diff) 37e39e437b2c (diff)
children 7db874627e11 a1e0728d1e02
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 
 <div class="splitcontentright">
 
+  <% if @user.author %>
   <div id="bibliography">
     <% @publications = Publication.all(:include => :authors, :conditions => "authors.id = #{@user.author.id}") %>
 
@@ -65,7 +66,7 @@
       </dd>
   	<% end %>
   </div>
-
+  <% end %>
 
 
 <% unless @events_by_day.empty? %>