Version 5.0.0 beta 9
This commit is contained in:
1 parent
214f649f1d
commit
56979f8ee8
202 files changed
+4403
-1123
No files matched your search
@@ -3804,7 +3804,17 @@ class Records extends Item implements
|
||||
*/
|
||||
public function getForumId() : int
|
||||
{
|
||||
return $this->_forum_forum;
|
||||
return ( $this->useForumComments() ) ? $this->_forum_forum : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the topic sync is enabled
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isTopicSyncEnabled() : bool
|
||||
{
|
||||
return $this->useForumComments();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user