From 856e2002caed9824566d7d94dc4421f476cae936 Mon Sep 17 00:00:00 2001 From: TamaroWalter Date: Tue, 14 May 2024 17:36:01 +0200 Subject: [PATCH] use right modulename --- classes/zoom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/zoom.php b/classes/zoom.php index 8922583..90ffe24 100644 --- a/classes/zoom.php +++ b/classes/zoom.php @@ -94,7 +94,7 @@ private static function get_events_from_db(): array { WHERE (e.timestart >= :timestart OR e.timestart+e.timeduration > :timeduration) AND e.timestart <= :timeend AND e.courseid $insqlcourses - AND e.modulename = 'ratingallocate' + AND e.modulename = 'zoom' AND m.visible = 1 AND (e.name NOT LIKE '" .'0'. "' AND e.eventtype NOT LIKE '" .'0'. "' ) AND (e.instance <> 0 AND e.visible = 1)