Skip to content

Commit 2cca45c

Browse files
committed
Prevent endless migration and error on strict mode
1 parent f6619b8 commit 2cca45c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Migration/SuccessMessageMigration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public function run(): MigrationResult
4646
{
4747
$sql = <<<'SQL'
4848
UPDATE tl_form
49-
SET confirmation = hofff_formtools_success
49+
SET confirmation = hofff_formtools_success, hofff_formtools_addSuccess = ''
5050
WHERE confirmation IS NULL
51-
AND hofff_formtools_addSuccess=1
51+
AND hofff_formtools_addSuccess='1'
5252
SQL;
5353

5454
$this->connection->executeQuery($sql);

0 commit comments

Comments
 (0)