mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
Reports: The reporting contact id is added
This commit is contained in:
parent
e9c6611965
commit
4c945850f4
9 changed files with 82 additions and 52 deletions
|
@ -53,10 +53,11 @@ 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,
|
||||
'forward' => $Report->forward,
|
||||
];
|
||||
|
||||
$postUriIds = $Report->postUriIds;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue