From 7cab59d220a15189165fc00e069297e5f6bbaf9e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 30 Jan 2017 21:35:23 +0000 Subject: [PATCH] Reverts unwanted change (#24769). git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/field_format.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/redmine/field_format.rb b/lib/redmine/field_format.rb index b502ec4f0..cfdab0e21 100644 --- a/lib/redmine/field_format.rb +++ b/lib/redmine/field_format.rb @@ -793,8 +793,6 @@ module Redmine end end scope.sorted - elsif object.nil? - Principal.member_of(Project.visible.to_a).sorted.select {|p| p.is_a?(User)} else [] end -- 2.39.5