diff options
| author | David Siegfried <david.siegfried> | 2022-06-21 14:24:18 +0200 |
|---|---|---|
| committer | David Siegfried <david.siegfried> | 2022-06-21 14:24:18 +0200 |
| commit | eb5d2f91afbc3ddb256dc6f8905b63a98cc9692e (patch) | |
| tree | f03e81fa96d6bf837b02ad786652672fc7fc6e82 /lib/classes/ForumEntry.php | |
| parent | eb09a925b33805bf16f872088d88182ff9220f5b (diff) | |
add content to query, refs #1194
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]); } |
