Quote:
Originally Posted by rob_daemon
Replace
PHP Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "subscribethread SET threadid = $firstthread WHERE subscribethread IN ($subthreads)");
With:
PHP Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "subscribethread SET threadid = $firstthread WHERE subscribethread IN (" . implode(', ', $subthreads) . ")");
And if that doesn't work, then just change:
PHP Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "subscribethread SET threadid = $firstthread WHERE subscribethread IN (" . implode(', ', $subthreads) . ")");
To:
PHP Code:
// $DB_site->query("UPDATE " . TABLE_PREFIX . "subscribethread SET threadid = $firstthread WHERE subscribethread IN (" . implode(', ', $subthreads) . ")");
|
Can you please check your code in inlinemod.php? for example:
PHP Code:
case 'move':
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads'))
PHP Code:
case 'open':
if (!can_moderate($vars['forumid'], 'canopenclose'))
In the first case, you check for $threadinfo['forumid'] and in the second you check for vars['forumid']. I think the second is the correct, but should it be replaced in all thread-related cases?