fix infinite parsing bug

This commit is contained in:
Dennis Eichhorn 2020-10-26 21:55:25 +01:00
parent f58f6e7b21
commit d50116d884

View File

@ -273,7 +273,7 @@ class Unit implements \JsonSerializable, ArrayableInterface
'status' => $this->status, 'status' => $this->status,
'description' => $this->description, 'description' => $this->description,
'descriptionRaw' => $this->descriptionRaw, 'descriptionRaw' => $this->descriptionRaw,
'parent' => $this->parent ?? new NullUnit(), 'parent' => $this->parent,
'image' => $this->image, 'image' => $this->image,
]; ];
} }