From eb09a925b33805bf16f872088d88182ff9220f5b Mon Sep 17 00:00:00 2001 From: David Siegfried <david.siegfried> Date: Tue, 21 Jun 2022 14:22:36 +0200 Subject: [PATCH] add content to query, refs #1194 --- lib/classes/ForumEntry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/ForumEntry.php b/lib/classes/ForumEntry.php index f1a8ca5c78a..46b6ff405f7 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, mkdate, chdate, lft, rgt, depth) - VALUES (?, ?, '', 'Ãœbersicht', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 0, 1, 0)"); + (topic_id, seminar_id, user_id, name, content, mkdate, chdate, lft, rgt, depth) + VALUES (?, ?, '', 'Ãœbersicht', '', UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 0, 1, 0)"); $stmt->execute([$seminar_id, $seminar_id]); } -- GitLab