diff --git a/app/views/bids/_homework_list.html.erb b/app/views/bids/_homework_list.html.erb
index 705040579..9f6b45dbd 100644
--- a/app/views/bids/_homework_list.html.erb
+++ b/app/views/bids/_homework_list.html.erb
@@ -1,6 +1,6 @@
<% is_student = is_cur_course_student(@bid.courses.first) %>
-<% is_teacher = is_course_teacher User.current,@bid.courses.first %>
+<% is_teacher = is_course_teacher(User.current,@bid.courses.first) %>
<% is_evaluation = @bid.is_evaluation == 1 || @bid.is_evaluation == nil %>
<%= form_tag(:controller => 'bids', :action => "show_courseEx", :method => :get) do %>
@@ -21,7 +21,6 @@
<% end %>
-