Index: mod/lti/locallib.php =================================================================== --- mod/lti/locallib.php (date 1333140350000) +++ mod/lti/locallib.php (revision ) @@ -290,7 +290,7 @@ 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) {