mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-32301_lti_instructor_params' of https://github.com/moodlerooms/moodle
This commit is contained in:
commit
fbd84c8eb5
@ -285,7 +285,7 @@ function lti_build_request($instance, $typeconfig, $course) {
|
||||
if ($customstr) {
|
||||
$custom = lti_split_custom_parameters($customstr);
|
||||
}
|
||||
if (!isset($typeconfig['allowinstructorcustom']) || $typeconfig['allowinstructorcustom'] == LTI_SETTING_NEVER) {
|
||||
if (isset($typeconfig['allowinstructorcustom']) && $typeconfig['allowinstructorcustom'] == LTI_SETTING_NEVER) {
|
||||
$requestparams = array_merge($custom, $requestparams);
|
||||
} else {
|
||||
if ($instructorcustomstr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user