1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

Fixed wrong variable used as array key

This commit is contained in:
François-Xavier de Guillebon 2015-09-14 18:34:55 +02:00
parent a18ff95fc4
commit 4b7d8511f8

View file

@ -438,8 +438,8 @@ class ResultSetMappingBuilder extends ResultSetMapping
$sql .= $class->fieldMappings[$this->fieldMappings[$columnName]]['columnName']; $sql .= $class->fieldMappings[$this->fieldMappings[$columnName]]['columnName'];
} else if (isset($this->metaMappings[$columnName])) { } else if (isset($this->metaMappings[$columnName])) {
$sql .= $this->metaMappings[$columnName]; $sql .= $this->metaMappings[$columnName];
} else if (isset($this->discriminatorColumns[$columnName])) { } else if (isset($this->discriminatorColumns[$dqlAlias])) {
$sql .= $this->discriminatorColumns[$columnName]; $sql .= $this->discriminatorColumns[$dqlAlias];
} }
$sql .= " AS " . $columnName; $sql .= " AS " . $columnName;