lib/taskjuggler/reports/ICalReport.rb in taskjuggler-3.6.0 vs lib/taskjuggler/reports/ICalReport.rb in taskjuggler-3.7.1

- old
+ new

@@ -94,10 +94,10 @@ todo.addAttendee(resource.name, resource.get('email')) end # Generate an additional VEVENT entry for all leaf tasks that aren't # milestones. - if task.leaf? && !task['milestone', scenarioIdx] + if task.leaf? && !task['milestone', scenarioIdx] && @report.get('novevents') == [false] event = ICalendar::Event.new( @ical, "#{task['projectid', scenarioIdx]}-#{task.fullId}", task.name, task['start', scenarioIdx], task['end', scenarioIdx]) event.description = note if note if organizer