Commit 90aa76f8 authored by jplang's avatar jplang

Fixed test failure introduced by r14366.

git-svn-id: https://svn.redmine.org/redmine/trunk@14368 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 750fea0f
......@@ -71,8 +71,8 @@ class Member < ActiveRecord::Base
else
1
end
elsif a
a <=> b
elsif a.any?
b.any? ? a <=> b : -1
else
1
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment