mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-32301: Allow instructor custom parameters for LTI tools
This commit is contained in:
parent
95190fda69
commit
e91be4ffa8
@ -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