summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-19 16:21:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-19 16:21:28 +0000
commit51d5a5202942dbbe8e39c51b9d4d53210da490c1 (patch)
tree513f1b959baa81805dbb3f54e68d768bb9f03379
parent6668d7ebd180bc9a3c29ec416def4cc9f94e5e75 (diff)
downloadredmine-51d5a5202942dbbe8e39c51b9d4d53210da490c1.tar.gz
redmine-51d5a5202942dbbe8e39c51b9d4d53210da490c1.zip
Do not let is_private be required.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10042 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/workflows_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb
index 912b8f153..52e9c2852 100644
--- a/app/helpers/workflows_helper.rb
+++ b/app/helpers/workflows_helper.rb
@@ -19,7 +19,7 @@
module WorkflowsHelper
def field_required?(field)
- field.is_a?(CustomField) ? field.is_required? : %w(project_id tracker_id subject priority_id).include?(field)
+ field.is_a?(CustomField) ? field.is_required? : %w(project_id tracker_id subject priority_id is_private).include?(field)
end
def field_permission_tag(permissions, status, field)