diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2022-10-26 10:32:43 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-10-26 10:32:43 +0000 |
| commit | e1af76a74550bcdd55eb48b9a32f39f468a466cd (patch) | |
| tree | 9b318bcdbe749ae62f3b6fc4476d4d0aa14ea2d3 /lib/classes/AutoInsert.class.php | |
| parent | 11eefe375e36c8e99cf28019d5d66b2eb8b4d5a9 (diff) | |
fix for BIESt 1283, closes #1283
Closes #1283
Merge request studip/studip!1066
Diffstat (limited to 'lib/classes/AutoInsert.class.php')
| -rw-r--r-- | lib/classes/AutoInsert.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/AutoInsert.class.php b/lib/classes/AutoInsert.class.php index 2ee009f..d9b1558 100644 --- a/lib/classes/AutoInsert.class.php +++ b/lib/classes/AutoInsert.class.php @@ -240,7 +240,7 @@ class AutoInsert * @param string $status Status for autoinsertion * @param bool $remove Whether the record should be added or removed */ - public static function updateSeminar($seminar_id, $domain = '', $status, $remove = false) + public static function updateSeminar($seminar_id, $domain, $status, $remove = false) { $query = $remove ? "DELETE FROM auto_insert_sem WHERE seminar_id = ? AND status= ? AND domain_id = ?" : "INSERT IGNORE INTO auto_insert_sem (seminar_id, status,domain_id) VALUES (?, ?, ?)"; $statement = DBManager::get()->prepare($query); |
