diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-06 18:37:30 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-06 18:37:30 +0000 |
commit | 6aad82e524c1b2cc8afc3299e129b239f834105b (patch) | |
tree | 44f8b8999729f2bc21ad28fc2991ac780623b7cc /app/views/projects | |
parent | b7555bd1ff6b738590679ca7c3fd00d2297a1c74 (diff) | |
download | redmine-6aad82e524c1b2cc8afc3299e129b239f834105b.tar.gz redmine-6aad82e524c1b2cc8afc3299e129b239f834105b.zip |
Fixed that the proposed users list may be empty when adding a project member (#10374).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9128 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index 2710fa82a..b5086d836 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -55,7 +55,7 @@ <% end %> </div> -<% principals = Principal.active.find(:all, :limit => 100, :order => 'type, login, lastname ASC') - @project.principals %> +<% principals = Principal.active.not_member_of(@project).all(:limit => 100, :order => 'type, login, lastname ASC') %> <div class="splitcontentright"> <% if roles.any? && principals.any? %> |