Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
cb490caf
Commit
cb490caf
authored
14 years ago
by
Eric Davis
Browse files
Options
Downloads
Patches
Plain Diff
[
#190
] Work around a nil error introduced in
c1cced51
parent
584bfbde
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/redmine/helpers/gantt.rb
+6
-2
6 additions, 2 deletions
lib/redmine/helpers/gantt.rb
with
6 additions
and
2 deletions
lib/redmine/helpers/gantt.rb
+
6
−
2
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment