Quote:
Originally Posted by Dave
You can try changing it to
PHP Code:
if(!isSuperMod($vbulletin) && count(modForums($vbulletin)) > 0){
$m_forums = "AND forumid IN ( ". implode(',', modForums( $vbulletin)) ." )";
}
|
A simpler and more common trick is simply to add a zero at the start of the IN() ;
PHP Code:
if(!isSuperMod($vbulletin)){
$m_forums = "AND forumid IN ( 0". implode(',', modForums( $vbulletin)) ." )";
}