]> git.openstreetmap.org Git - rails.git/commitdiff
users.visible has changed to users.status
authorKai Krueger <kakrueger@gmail.com>
Wed, 20 Apr 2011 05:59:50 +0000 (23:59 -0600)
committerKai Krueger <kakrueger@gmail.com>
Wed, 20 Apr 2011 05:59:50 +0000 (23:59 -0600)
app/controllers/map_bugs_controller.rb

index 41881cfb79577ed0dc1a46b10e95de9bfccc3063..bbde2148f3cfd0fa20972c3642c45651e333e69f 100644 (file)
@@ -206,7 +206,7 @@ class MapBugsController < ApplicationController
   def my_bugs
  
     if params[:display_name] 
-      @user2 = User.find_by_display_name(params[:display_name], :conditions => { :visible => true }) 
+      @user2 = User.find_by_display_name(params[:display_name], :conditions => { :status => ["active", "confirmed"] }) 
  
       if @user2  
         if @user2.data_public? or @user2 == @user