From d36d64f6648e96c40acb3639a5f33371b20b2e91 Mon Sep 17 00:00:00 2001 From: Etienne Massip Date: Thu, 5 Apr 2012 18:10:54 +0000 Subject: 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 --- app/controllers/watchers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 -- cgit v1.2.3