Commit cb490caf authored by Eric Davis's avatar Eric Davis

[#190] Work around a nil error introduced in c1cced51

parent 584bfbde
...@@ -110,8 +110,12 @@ module Redmine ...@@ -110,8 +110,12 @@ module Redmine
total += number_of_rows_on_project(project) total += number_of_rows_on_project(project)
end end
end end
rows > @max_rows ? @max_rows : rows if @max_rows.present?
rows > @max_rows ? @max_rows : rows
else
rows
end
end end
# Returns the number of rows that will be used to list a project on # Returns the number of rows that will be used to list a project on
......
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