summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2012-04-05 18:10:54 +0000
committerEtienne Massip <etienne.massip@gmail.com>2012-04-05 18:10:54 +0000
commitd36d64f6648e96c40acb3639a5f33371b20b2e91 (patch)
tree428bc961c7a27b2449804fcf94734d212693cb26 /app/controllers
parentddce7ef142bb7e18e0f5e6b50611ec5203e56a19 (diff)
downloadredmine-d36d64f6648e96c40acb3639a5f33371b20b2e91.tar.gz
redmine-d36d64f6648e96c40acb3639a5f33371b20b2e91.zip
Fixed Internal Error in watchers XHR search (#10600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9323 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/watchers_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb
index 0a427801c..19af1e672 100644
--- a/app/controllers/watchers_controller.rb
+++ b/app/controllers/watchers_controller.rb
@@ -98,7 +98,7 @@ class WatchersController < ApplicationController
def autocomplete_for_user
@users = User.active.like(params[:q]).find(:all, :limit => 100)
if @watched
- @user -= @watched.watcher_users
+ @users -= @watched.watcher_users
end
render :layout => false
end