Commit d0915426 authored by Jake Dallimore's avatar Jake Dallimore

Merge branch 'MDL-69399-master_lti_alpha' of https://github.com/haietza/moodle

parents 546c0307 6c235e4e
......@@ -2321,7 +2321,8 @@ function lti_get_lti_types_by_course($courseid, $coursevisible = null) {
FROM {lti_types}
WHERE coursevisible $coursevisiblesql
AND ($coursecond)
AND state = :active";
AND state = :active
ORDER BY name ASC";
return $DB->get_records_sql($query,
array('siteid' => $SITE->id, 'courseid' => $courseid, 'active' => LTI_TOOL_STATE_CONFIGURED) + $coursevisparams);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment