Skip to content
Snippets Groups Projects
Commit 4693ea0f authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

prevent sql-errors, closes #3981

Closes #3981

Merge request studip/studip!2831
parent f81c53ee
No related branches found
No related tags found
No related merge requests found
......@@ -623,7 +623,7 @@ class CalendarScheduleModel
SET visible = 0
WHERE seminar_id = ? AND user_id = ? AND metadate_id = ?");
} else {
$stmt = DBManager::get()->prepare("INSERT INTO schedule_seminare
$stmt = DBManager::get()->prepare("INSERT IGNORE INTO schedule_seminare
(seminar_id, user_id, metadate_id, visible)
VALUES(?, ?, ?, 0)");
}
......
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