summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-03 19:53:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-03 19:53:52 +0000
commit4e244be21cc1c9fbd885081a6d02527b67a5034d (patch)
tree2c88eb224d8455698cb5907b46c1ff7a7545c445 /app/controllers
parent09cfef094cc9ba49da9a2d4435eef5079c6682ad (diff)
downloadredmine-4e244be21cc1c9fbd885081a6d02527b67a5034d.tar.gz
redmine-4e244be21cc1c9fbd885081a6d02527b67a5034d.zip
Slight changes on users list view and hide Anonymous user.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1118 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/users_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index f67d1ae53..ceb70ab92 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -33,8 +33,8 @@ class UsersController < ApplicationController
sort_init 'login', 'asc'
sort_update
- @status = params[:status] ? params[:status].to_i : 1
- conditions = nil
+ @status = params[:status] ? params[:status].to_i : 1
+ conditions = "status <> 0"
conditions = ["status=?", @status] unless @status == 0
@user_count = User.count(:conditions => conditions)