mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user