From fc07e5b3aaf17a58172c787bbc7868b45ed6ac1c Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Sun, 2 Sep 2001 08:54:09 +0000 Subject: [PATCH] fixed bug #457604 git-svn-id: file:///svn/phpbb/trunk@965 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/modcp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/modcp.php b/phpBB/modcp.php index f37a02c70c..0d82ba4d7f 100644 --- a/phpBB/modcp.php +++ b/phpBB/modcp.php @@ -594,8 +594,8 @@ switch($mode) $topic_time = get_gmt_ts(); $sql = "INSERT INTO " . TOPICS_TABLE . " - (topic_title, topic_poster, topic_time, forum_id, topic_notify, topic_status, topic_type) - VALUES ('$subject', $first_poster, " . $topic_time . ", $new_forum_id, 0, " . TOPIC_UNLOCKED . ", " . POST_NORMAL . ")"; + (topic_title, topic_poster, topic_time, forum_id, topic_status, topic_type) + VALUES ('$subject', $first_poster, " . $topic_time . ", $new_forum_id, " . TOPIC_UNLOCKED . ", " . POST_NORMAL . ")"; if(!$result = $db->sql_query($sql, BEGIN_TRANSACTION)) { message_die(GENERAL_ERROR, "Could not insert new topic", "", __LINE__, __FILE__, $sql);