Skip to content

Commit

Permalink
Merge pull request #32 from two4zero/dev
Browse files Browse the repository at this point in the history
@two4zero - Thank you for contribution. 4.0.1 will be created immediately ;)
  • Loading branch information
vadimjustus authored Apr 2, 2019
2 parents 866909c + 6bcd645 commit 8511c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
/** @noinspection SqlNoDataSourceInspection */
$setup->getConnection()->query(sprintf(
"UPDATE IGNORE %s SET %s = REPLACE(%s, '%s', '%s') WHERE %s LIKE '%%%s%%' ESCAPE '|'",
$table, $field, $field, $replacedWidget, $newWidget, $field, $replacedWidget
$setup->getTable($table), $field, $field, $replacedWidget, $newWidget, $field, $replacedWidget
));
}
}
Expand Down

0 comments on commit 8511c5e

Please sign in to comment.