• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Change Thread Conditions Forum ID...

Jaxel

Well-known member
#1
Line 273 of XenForo_Model_Thread:
Code:
$sqlConditions[] = 'thread.node_id = ' . $db->quote($conditions['forum_id']);
Can we get this changed to:
Code:
$sqlConditions[] = 'thread.node_id IN (' . $db->quote($conditions['forum_id']) . ')';

This will not break current functionality, but it will also allow us to pass an array as well as a string, to allow the definition of multiple forums instead of just a single forum. Of course, $db->quote will need to have an array handler.