diff options
Diffstat (limited to 'app/views/issues/_form.html.erb')
-rw-r--r-- | app/views/issues/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index d8dd91ee6..4b4cbccb0 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -1,6 +1,6 @@ <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %> -<% if @issue.safe_attribute_names.include?('is_private') %> +<% if @issue.safe_attribute? 'is_private' %> <p style="float:right; margin-right:1em;"> <label class="inline" for="issue_is_private" id="issue_is_private_label"><%= f.check_box :is_private, :no_label => true %> <%= l(:field_is_private) %></label> </p> |