Well it works this time, sort of

git-svn-id: file:///svn/phpbb/trunk@112 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-03-20 21:17:10 +00:00
parent 72aa8fbfd1
commit 6b421afc05

View file

@ -197,7 +197,7 @@ function create_forum($catid, $forum){
$forum_id = mysql_insert_id($db->db_connect_id);
// Sorry, no error checking. We just assume that if the forum can be
// created the moderator can be assigned too :)
$sql = "INSERT INTO forum_mods (forum_id, user_id) VALUES ('$forum_id', '1')";
$sql = "INSERT INTO ".FORUM_MODS_TABLE." (forum_id, user_id) VALUES ('$forum_id', '1')";
$result = $db->sql_query($sql);
return $forum_id;
}