diff options
Diffstat (limited to 'lib/classes/ForumEntry.php')
| -rw-r--r-- | lib/classes/ForumEntry.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/classes/ForumEntry.php b/lib/classes/ForumEntry.php index 46b6ff4..eb47496 100644 --- a/lib/classes/ForumEntry.php +++ b/lib/classes/ForumEntry.php @@ -1242,8 +1242,8 @@ class ForumEntry implements PrivacyObject $stmt->execute([$seminar_id, $seminar_id]); if ($stmt->fetchColumn() == 0) { $stmt = DBManager::get()->prepare("INSERT INTO forum_entries - (topic_id, seminar_id, user_id, name, content, mkdate, chdate, lft, rgt, depth) - VALUES (?, ?, '', 'Übersicht', '', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 0, 1, 0)"); + (topic_id, seminar_id, user_id, name, content, author, author_host, mkdate, chdate, lft, rgt, depth) + VALUES (?, ?, '', 'Übersicht', '', '', '', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 0, 1, 0)"); $stmt->execute([$seminar_id, $seminar_id]); } |
