[DDC-2792] Fix fatals
This commit is contained in:
parent
1edf6b65b1
commit
2a9351b8dc
@ -493,6 +493,7 @@ class YamlDriver extends FileDriver
|
|||||||
if ( ! isset($joinColumnElement['name'])) {
|
if ( ! isset($joinColumnElement['name'])) {
|
||||||
$joinColumnElement['name'] = $joinColumnName;
|
$joinColumnElement['name'] = $joinColumnName;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$joinTable['joinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
$joinTable['joinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
||||||
}
|
}
|
||||||
@ -502,6 +503,7 @@ class YamlDriver extends FileDriver
|
|||||||
if ( ! isset($joinColumnElement['name'])) {
|
if ( ! isset($joinColumnElement['name'])) {
|
||||||
$joinColumnElement['name'] = $joinColumnName;
|
$joinColumnElement['name'] = $joinColumnName;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$joinTable['inverseJoinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
$joinTable['inverseJoinColumns'][] = $this->joinColumnToArray($joinColumnElement);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user