veraderock
Member
In tracking down a database error, I've stumbled on a bug in the following location:
File: library/XenForo/Model/ThreadWatch.php
Function declaration: getThreadsWatchedByUser
Line #: 311
Issue:
If $newOnly is true then the $newOnlyClause includes a comparison against the tables 'thread_read' and 'forum_read', however there is no addition of those tables to the $joinOptions['joinTables'] . So, the resulting SQL statement fails.
File: library/XenForo/Model/ThreadWatch.php
Function declaration: getThreadsWatchedByUser
Line #: 311
Issue:
If $newOnly is true then the $newOnlyClause includes a comparison against the tables 'thread_read' and 'forum_read', however there is no addition of those tables to the $joinOptions['joinTables'] . So, the resulting SQL statement fails.