- link_to h(author.display_name), link_options.merge({:controller => "user", :action => "view", :display_name => author.display_name})
+ if author.nil?
+ ""
+ elsif author.status == "deleted"
+ t("user.no_such_user.deleted")
+ else
+ link_to h(author.display_name), link_options.merge(:controller => "user", :action => "view", :display_name => author.display_name)
+ end