Version 5.0.0 beta 11.1

This commit is contained in:
Neo committed 2025-12-19 18:00:22 -08:00
1 parent 264eeb97e0
commit 90e8c7e903
466 files changed
+7796 -2394

No files matched your search

+3 -3
View File
@@ -3511,7 +3511,7 @@ class Records extends Item implements
* @apiresponse string description Event description
* @apiresponse int comments Number of comments
* @apiresponse int reviews Number of reviews
* @apiresponse int views Number of posts
* @apiresponse int views Number of views
* @apiresponse string prefix The prefix tag, if there is one
* @apiresponse [string] tags The tags
* @apiresponse bool locked Event is locked
@@ -3804,7 +3804,7 @@ class Records extends Item implements
*/
public function getForumId() : int
{
return ( $this->useForumComments() ) ? $this->_forum_forum : 0;
return ( $this->isTopicSyncEnabled() ) ? $this->_forum_forum : 0;
}
/**
@@ -3814,7 +3814,7 @@ class Records extends Item implements
*/
public function isTopicSyncEnabled() : bool
{
return $this->useForumComments();
return $this->_forum_record and $this->_forum_comments and Application::appIsEnabled('forums');
}
/**