mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00: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:
parent
72aa8fbfd1
commit
6b421afc05
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue