Lack of interest Change Thread Conditions Forum ID...

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Jaxel

Well-known member
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.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom