diff --git a/public/plugins_packages/core/Forum/models/ForumEntry.php b/public/plugins_packages/core/Forum/models/ForumEntry.php index 342cc17eda220a18462dcb08f6897051bc44cdd2..9aefd662797c6b947c29f770993127de83e1df0b 100644 --- a/public/plugins_packages/core/Forum/models/ForumEntry.php +++ b/public/plugins_packages/core/Forum/models/ForumEntry.php @@ -1240,8 +1240,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]); }