Skip to content

Commit

Permalink
fix(install): sql error in upgrade
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
btry committed Apr 14, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 29d9fe8 commit 9c2bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/upgrade_to_2.11.php
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ public function upgrade(Migration $migration) {
foreach ($DB->request($request) as $row) {
$id = $row['id'];
$uuid = plugin_formcreator_getUuid();
$DB->query("UPDATE INTO `$table`
$DB->query("UPDATE `$table`
SET `uuid`='$uuid'
WHERE `id`='$id'"
) or plugin_formcreator_upgrade_error($migration);

0 comments on commit 9c2bac0

Please sign in to comment.