summaryrefslogtreecommitdiffstats
path: root/app/views/projects/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_form.html.erb')
-rw-r--r--app/views/projects/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb
index c259c9039..010729d12 100644
--- a/app/views/projects/_form.html.erb
+++ b/app/views/projects/_form.html.erb
@@ -74,7 +74,7 @@
<% end %>
<% end %>
-<% if @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
+<% if !User.current.admin? && @project.inherit_members? && @project.parent && User.current.member_of?(@project.parent) %>
<%= javascript_tag do %>
$(document).ready(function() {
$("#project_inherit_members").change(function(){