Skip to content

Commit 385c6ff

Browse files
authored
Fix(install): SQL warning (#552)
* Fix(install): SQL warning * changelog
1 parent 33d87cc commit 385c6ff

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
- Fix SQL query error when displaying deliveries
1111
- Fix error during generate associated material action
12+
- Fix SQL warning during installation
1213

1314
## [2.12.5] - 2026-01-08
1415

inc/order_item.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2162,7 +2162,7 @@ public static function install(Migration $migration)
21622162
$table . ' as goi',
21632163
],
21642164
'WHERE' => [
2165-
'goi.plugin_order_orders_id' => 'go.id',
2165+
'goi.plugin_order_orders_id' => new QueryExpression(DBmysql::quoteName('go.id')),
21662166
],
21672167
];
21682168
foreach ($DB->request($query) as $data) {

0 commit comments

Comments
 (0)