Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
cb490caf
Commit
cb490caf
authored
Feb 20, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#190
] Work around a nil error introduced in
c1cced51
parent
584bfbde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
gantt.rb
lib/redmine/helpers/gantt.rb
+6
-2
No files found.
lib/redmine/helpers/gantt.rb
View file @
cb490caf
...
...
@@ -110,8 +110,12 @@ module Redmine
total
+=
number_of_rows_on_project
(
project
)
end
end
rows
>
@max_rows
?
@max_rows
:
rows
if
@max_rows
.
present?
rows
>
@max_rows
?
@max_rows
:
rows
else
rows
end
end
# Returns the number of rows that will be used to list a project on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment