diff --git a/Web/Models/Entities/Report.php b/Web/Models/Entities/Report.php index 5487056f..1b36678c 100644 --- a/Web/Models/Entities/Report.php +++ b/Web/Models/Entities/Report.php @@ -80,7 +80,7 @@ class Report extends RowModel function getAuthor(): RowModel { - return (new Posts)->get($this->getContentId())->getOwner(); + return $this->getContentObject()->getOwner(); } function getReportAuthor(): User