diff --git a/app/helpers/homework_attach_helper.rb b/app/helpers/homework_attach_helper.rb index 6965eca07..52a2c398a 100644 --- a/app/helpers/homework_attach_helper.rb +++ b/app/helpers/homework_attach_helper.rb @@ -60,7 +60,7 @@ module HomeworkAttachHelper memberships = User.current.memberships.all(:conditions => cond) projects = memberships.map(&:project) not_have_project = [] - not_have_project << "NO PROJECT" + not_have_project << "" not_have_project << 0 type = [] type << not_have_project