Skip to content

Fix for wrong context data loading in Moodle 3.4+

Compare
Choose a tag to compare
@lordtatty lordtatty released this 07 Jun 10:31
8c8ee7c

This fixes a bug where in Moodle 3.4+ the wrong context_label and context_title was being passed through in the LTI Launch. It was defaulting to the "site" or "root" course.

In most cases this would not cause a problem as separate custom LTI params were handling the same behaviour, but in some cases, such as if lookup was happening via list title, this would prevent list matching.