Fix broken SQL
This commit is contained in:
parent
8f92919434
commit
15cfe70041
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function xmldb_auth_userkey_upgrade($oldversion) {
|
|||
|
||||
if ($oldversion < 2018050200) {
|
||||
// Confirm all previously created users.
|
||||
$DB->execute('UPDATE {user} SET confirmed=1 WHERE auth="userkey"');
|
||||
$DB->execute("UPDATE {user} SET confirmed=? WHERE auth=?", array(1, 'userkey'));
|
||||
upgrade_plugin_savepoint(true, 2018050200, 'auth', 'saml2');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue