This is interesting...
Code:
function fetch_forum_parentlist($forumid)
{
global $DB_site;
if ($forumid == -1)
{
return '-1';
}
$foruminfo = $DB_site->query_first("SELECT parentid FROM " . TABLE_PREFIX . "forum WHERE forumid = $forumid");
$forumarray = $forumid;
if ($foruminfo['parentid'] != 0)
{
$forumarray .= ',' . fetch_forum_parent_list($foruminfo['parentid']);
}
if (substr($forumarray, -2) != -1)
{
$forumarray .= '-1';
}
return $forumarray;
}
Look at this snippet of that function:
Code:
if ($foruminfo['parentid'] != 0)
{
$forumarray .= ',' . fetch_forum_parent_list($foruminfo['parentid']);
}
fetch_forum_parentlist is the name of the function, but it refers to fetch_forum_parent_list ... that function doesn't exist, yet the admin section sub-forum thing works just fine from the admin CP. I'm using RC3, can anyone confirm if this was a bug intro'd in RC3, or was it fixed in RC4?