Skip to content

Commit ce9b8db

Browse files
committed
postgres fix
1 parent a859738 commit ce9b8db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": ">=7.2.0",
1515
"ext-pdo": "*",
1616
"yiisoft/yii2": "~2.0.0",
17-
"smoren/query-relation-manager": "2.0.3"
17+
"smoren/query-relation-manager": "2.0.4"
1818
},
1919
"autoload": {
2020
"psr-4": {

src/Yii2/QueryRelationDataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function prepareModels()
101101
foreach($pkValues as $row) {
102102
$rowPrefixed = [];
103103
foreach($row as $field => $value) {
104-
$rowPrefixed["`{$mainTable->alias}`.`{$field}`"] = $value;
104+
$rowPrefixed["{$mainTable->alias}.{$field}"] = $value;
105105
}
106106
$pkValuesPrefixed[] = $rowPrefixed;
107107
}

0 commit comments

Comments
 (0)