Skip to content
Snippets Groups Projects
Commit eb09a925 authored by David Siegfried's avatar David Siegfried
Browse files

add content to query, refs #1194

parent ebdba148
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment