Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

@@ -171,13 +171,14 @@ class _CommentTopicSync extends \IPS\cms\Records\Comment
*
* @param string $reportContent Report content message from member
* @param int $reportType Report type (see constants in \IPS\core\Reports\Report
* @param \IPS\Member|NULL $member Member making the report (or NULL for loggedIn())
* @return \\PS\core\Reports\Report
* @throws \UnexpectedValueException If there is a permission error - you should only call this method after checking canReport
*/
public function report( $reportContent, $reportType=1 )
public function report( $reportContent, $reportType=1, $member=NULL )
{
$comment = \IPS\forums\Topic\Post::load( $this->pid );
return $comment->report( $reportContent, $reportType );
return $comment->report( $reportContent, $reportType, $member );
}
/**