MDL-36399 LTI editing tool config breaks on Oracle.
Note that this fix will fail if the tool URL is longer than 1333 characters.
This commit is contained in:
@@ -505,7 +505,7 @@ function lti_get_type_config($typeid) {
|
||||
FROM {lti_types_config}
|
||||
WHERE typeid = :typeid1
|
||||
UNION ALL
|
||||
SELECT 'toolurl' AS name, baseurl AS value
|
||||
SELECT 'toolurl' AS name, " . $DB->sql_compare_text('baseurl', 1333) . " AS value
|
||||
FROM {lti_types}
|
||||
WHERE id = :typeid2";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user