]> git.mxchange.org Git - friendica.git/blobdiff - src/Moderation/Repository/Report.php
spelling: mismatches
[friendica.git] / src / Moderation / Repository / Report.php
index 75a7f06dcdb3914890ec0564464d65bcc3c8249f..101f153896114011c378f17946f70e01a2965d01 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -53,10 +53,13 @@ class Report extends \Friendica\BaseRepository
        public function save(\Friendica\Moderation\Entity\Report $Report)
        {
                $fields = [
-                       'uid'     => $Report->uid,
-                       'cid'     => $Report->cid,
-                       'comment' => $Report->comment,
-                       'forward' => $Report->forward,
+                       'uid'         => $Report->uid,
+                       'reporter-id' => $Report->reporterId,
+                       'cid'         => $Report->cid,
+                       'comment'     => $Report->comment,
+                       'category'    => $Report->category,
+                       'rules'       => $Report->rules,
+                       'forward'     => $Report->forward,
                ];
 
                $postUriIds = $Report->postUriIds;