diff --git a/app/views/bids/_bid_homework_show.html.erb b/app/views/bids/_bid_homework_show.html.erb index 4a02a5fb1..22645113b 100644 --- a/app/views/bids/_bid_homework_show.html.erb +++ b/app/views/bids/_bid_homework_show.html.erb @@ -81,7 +81,7 @@ <%= l(:label_students_responses) %> ( - <%= bid.commit.nil? ? bid.commit : 0 %> + <%= bid.commit.nil? ? 0 : bid.commit %> )