Fixed wrong variable used as array key
This commit is contained in:
parent
a18ff95fc4
commit
4b7d8511f8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue