Skip to content

Commit

Permalink
Merge branch 'MDL-69399-master_lti_alpha' of https://github.com/haiet…
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed Dec 23, 2020
2 parents 546c030 + 6c235e4 commit d091542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/lti/locallib.php
Expand Up @@ -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);
Expand Down

0 comments on commit d091542

Please sign in to comment.