@@ -343,7 +343,7 module ApplicationHelper | |||
|
343 | 343 | def options_for_membership_project_select(principal, projects) |
|
344 | 344 | options = content_tag('option', "--- #{l(:actionview_instancetag_blank_option)} ---") |
|
345 | 345 | options << project_tree_options_for_select(projects) do |p| |
|
346 | {:disabled => principal.projects.include?(p)} | |
|
346 | {:disabled => principal.projects.to_a.include?(p)} | |
|
347 | 347 | end |
|
348 | 348 | options |
|
349 | 349 | end |
General Comments 0
You need to be logged in to leave comments.
Login now