[#190] Work around a nil error introduced in c1cced5139
This commit is contained in:
parent
584bfbde80
commit
cb490caff4
|
@ -111,7 +111,11 @@ module Redmine
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if @max_rows.present?
|
||||||
rows > @max_rows ? @max_rows : rows
|
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
|
||||||
|
|
Loading…
Reference in New Issue