mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
Makes object argument optional and typo.
git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
5492062557
commit
47e9796473
@ -287,7 +287,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def line_for_project(project, options)
|
||||
# Skip versions that don't have a start_date or due date
|
||||
# Skip projects that don't have a start_date or due date
|
||||
if project.is_a?(Project) && project.start_date && project.due_date
|
||||
label = project.name
|
||||
line(project.start_date, project.due_date, nil, true, label, options, project)
|
||||
@ -320,7 +320,7 @@ module Redmine
|
||||
end
|
||||
end
|
||||
|
||||
def subject(label, options, object)
|
||||
def subject(label, options, object=nil)
|
||||
send "#{options[:format]}_subject", options, label, object
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user