Skip to content
Snippets Groups Projects
Commit c0f0df5c authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2552547 by Haza, zniki.ru, bzrudi71: Migrate fails to build the map on PostgreSQL

parent dc644d1d
No related branches found
No related tags found
Loading
......@@ -135,7 +135,7 @@ protected function initializeIterator() {
$delimiter = '';
foreach ($this->getIds() as $field_name => $field_schema) {
if (isset($field_schema['alias'])) {
$field_name = $field_schema['alias'] . '.' . $field_name;
$field_name = $field_schema['alias'] . '.' . $this->query->escapeField($field_name);
}
$map_join .= "$delimiter$field_name = map.sourceid" . $count++;
$delimiter = ' AND ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment