DDC-1192 - Fix notice in XmlDriver, removed unnecessary code.
This commit is contained in:
parent
d3ab9b51fa
commit
d17d0f5452
@ -356,9 +356,6 @@ class XmlDriver extends AbstractFileDriver
|
|||||||
$joinColumns[] = $this->_getJoinColumnMapping($manyToOneElement->{'join-column'});
|
$joinColumns[] = $this->_getJoinColumnMapping($manyToOneElement->{'join-column'});
|
||||||
} else if (isset($manyToOneElement->{'join-columns'})) {
|
} else if (isset($manyToOneElement->{'join-columns'})) {
|
||||||
foreach ($manyToOneElement->{'join-columns'}->{'join-column'} as $joinColumnElement) {
|
foreach ($manyToOneElement->{'join-columns'}->{'join-column'} as $joinColumnElement) {
|
||||||
if (!isset($joinColumnElement['name'])) {
|
|
||||||
$joinColumnElement['name'] = $name;
|
|
||||||
}
|
|
||||||
$joinColumns[] = $this->_getJoinColumnMapping($joinColumnElement);
|
$joinColumns[] = $this->_getJoinColumnMapping($joinColumnElement);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user