GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 27cdecb0 authored by jplang's avatar jplang

Don't compute version start date if due_date is nil.

git-svn-id: https://svn.redmine.org/redmine/trunk@11136 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3d453dac
......@@ -322,7 +322,7 @@ module Redmine
def line_for_version(version, options)
# Skip versions that don't have a start_date
if version.is_a?(Version) && version.start_date && version.due_date
if version.is_a?(Version) && version.due_date && version.start_date
options[:zoom] ||= 1
options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom]
coords = coordinates(version.start_date,
......
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