aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/AutoInsert.class.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-02-03 14:02:57 +0100
committerMoritz Strohm <strohm@data-quest.de>2022-04-12 15:44:24 +0000
commit35ac448d87d1436259061cf9aa3f00ae4c9c6deb (patch)
tree47cbd46f97199c54c1dacf5ee9ed0ad436f1c762 /lib/classes/AutoInsert.class.php
parent956bc89af815fe31b0ef68721f051eb80c24786d (diff)
transfer changeset 59453 from svn
Diffstat (limited to 'lib/classes/AutoInsert.class.php')
-rw-r--r--lib/classes/AutoInsert.class.php2
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);