Skip to content

Commit

Permalink
Fix broken SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriim committed May 2, 2018
1 parent 94c2843 commit c2c0164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function xmldb_auth_userkey_upgrade($oldversion) {

if ($oldversion < 2017051503) {
// 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, 2017051503, 'auth', 'userkey');
}

Expand Down

0 comments on commit c2c0164

Please sign in to comment.