mpxj 9.5.0 → 9.7.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of mpxj might be problematic. Click here for more details.

Binary file
data/lib/mpxj/task.rb CHANGED
@@ -21,7 +21,7 @@ module MPXJ
21
21
  # @return [Task] if this task is the child of another task
22
22
  # @return [nil] if this is the root task
23
23
  def parent_task
24
- parent_project.get_task_by_unique_id(parent_task_unique_id)
24
+ parent_project.get_task_by_unique_id(attribute_values['parent_task_unique_id']&.to_i)
25
25
  end
26
26
 
27
27
  private