From bf2ae17e0542edf4b02d8440e794a3bd44622a0d Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Wed, 6 Nov 2013 11:10:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=AF=BB=E5=8F=96=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_list_projects.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/bids/_list_projects.html.erb b/app/views/bids/_list_projects.html.erb index b91efaf50..774b22a3f 100644 --- a/app/views/bids/_list_projects.html.erb +++ b/app/views/bids/_list_projects.html.erb @@ -156,7 +156,9 @@ <%= l(:label_bidding_user_homework) %> : + <% unless b_project.user.nil? %> <%= link_to(b_project.user.lastname+b_project.user.firstname, user_path(b_project.user)) %> + <% end %> @@ -165,7 +167,9 @@ <% else %> <%= l(:label_bidding_user) %> - <%= link_to(b_project.user.lastname+b_project.user.firstname, user_path(b_project.user)) %> + <% unless b_project.user.nil? %> + <%= b_project.user.lastname %><%= b_project.user.firstname %> + <% end %>