mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MDL-69399-311_lti_alpha' of https://github.com/haietza/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
52976d4eb3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue