Skip to content

Commit

Permalink
adapt attribute to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
TamaroWalter committed Aug 15, 2024
1 parent b5f8d4c commit a5625ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/zoom.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ private static function get_events_from_db(): array {
+ $inparamscourses;

// Set the sql statement.
$sql = "SELECT e.id, e.name, z.name AS instancename , e.courseid, cm.id AS coursemoduleid, cm.availability AS availability,
e.groupid, e.userid, e.modulename, e.instance, e.eventtype, e.timestart, e.timemodified, e.visible
$sql = "SELECT e.id, e.name AS content, z.name AS instancename , e.courseid, cm.id AS coursemoduleid,
cm.availability AS availability, e.groupid, e.userid, e.modulename, e.instance, e.eventtype, e.timestart,
e.timemodified, e.visible
FROM {event} e
JOIN {modules} m ON e.modulename = m.name
JOIN {course_modules} cm ON (cm.course = e.courseid AND cm.module = m.id AND cm.instance = e.instance)
Expand Down

0 comments on commit a5625ad

Please sign in to comment.