修改不选择项目时的<<NULL>>为 NO PROJECT

This commit is contained in:
sw 2014-11-22 12:47:40 +08:00
parent 287e9151a2
commit 06a513b2ee
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ module HomeworkAttachHelper
memberships = User.current.memberships.all(:conditions => cond) memberships = User.current.memberships.all(:conditions => cond)
projects = memberships.map(&:project) projects = memberships.map(&:project)
not_have_project = [] not_have_project = []
not_have_project << "<<NULL>>" not_have_project << "NO PROJECT"
not_have_project << 0 not_have_project << 0
type = [] type = []
type << not_have_project type << not_have_project