Commit c0f0df5c authored by webchick's avatar webchick

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

parent dc644d1d
......@@ -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 ';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment