Merge branch 'MDL-64345-master' of https://github.com/s-cenni/MDL-64345

This commit is contained in:
Jake Dallimore 2019-01-09 14:13:38 +08:00
commit f68426d1fb

View File

@ -2491,7 +2491,7 @@ function xmldb_main_upgrade($oldversion) {
$updatesql = "UPDATE {oauth2_issuer}
SET image = :newimage
WHERE image = :oldimage";
WHERE " . $DB->sql_compare_text('image', 100). " = :oldimage";
$params = [
'newimage' => $newurl,
'oldimage' => $oldurl